emqx/apps/emqx_resource/include
Thales Macedo Garitezi 20414d7373 fix(buffer_worker): check request timeout and health check interval
Fixes https://emqx.atlassian.net/browse/EMQX-9099

The default value for `request_timeout` is 15 seconds, and the default
resume interval is also 15 seconds (the health check timeout, if
`resume_interval` is not explicitly given).  This means that, in
practice, if a buffer worker ever gets into the blocked state, then
almost all requests will timeout.

Proposed improvement:

- `request_timeout` should by default be twice as much as
health_check_interval.
- Emit a alarm if `request_timeout` is not greater than
`health_check_interval`.
2023-03-16 13:46:45 -03:00
..
emqx_resource_errors.hrl chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
emqx_resource_utils.hrl chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
emqx_resource.hrl fix(buffer_worker): check request timeout and health check interval 2023-03-16 13:46:45 -03:00