emqx/apps/emqx_bridge/test
Thales Macedo Garitezi a7b41e1cdf perf(webhook): add retry attempts for async
This is a performance improvement for webhook bridge.

Since this bridge is called using `async` callback mode, and `ehttpc`
frequently returns errors of the form `normal` and `{shutdown,
normal}` that are retried "for free" by `ehttpc`, we add this behavior
to async requests as well.  Other errors are retried too, but they are
not "free": 3 attempts are made at a maximum.

This is important because, when using buffer workers, we should avoid
making them enter the `blocked` state, since that halts all progress
and makes throughput plummet.
2023-05-17 09:20:50 -03:00
..
data/certs fix: fix obsolete SSL files aren't deleted after the bridge configuration update 2022-11-23 23:49:43 +01:00
emqx_bridge_api_SUITE.erl fix(emqx_bridge): validate Webhook bad URL and return 'BAD_REQUEST' if it's invalid 2023-04-20 17:21:43 +03:00
emqx_bridge_compatible_config_tests.erl chore: convert rotation struct to roation_count 2023-05-09 11:24:51 +08:00
emqx_bridge_mqtt_SUITE.erl fix: byebye jsx 2023-04-14 13:41:34 +02:00
emqx_bridge_resource_tests.erl fix(rule_engine): count referenced bridges in from clauses as dependencies (rv5.0) 2023-03-28 10:31:10 -03:00
emqx_bridge_SUITE.erl refactor: remove raw_with_default config load option 2023-05-04 09:48:28 +02:00
emqx_bridge_testlib.erl feat: add IotDB bridge 2023-05-08 16:19:01 +02:00
emqx_bridge_webhook_SUITE.erl perf(webhook): add retry attempts for async 2023-05-17 09:20:50 -03:00