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.
|
||
|---|---|---|
| .. | ||
| data/certs | ||
| emqx_bridge_api_SUITE.erl | ||
| emqx_bridge_compatible_config_tests.erl | ||
| emqx_bridge_mqtt_SUITE.erl | ||
| emqx_bridge_resource_tests.erl | ||
| emqx_bridge_SUITE.erl | ||
| emqx_bridge_testlib.erl | ||
| emqx_bridge_webhook_SUITE.erl | ||