emqx/apps
Thales Macedo Garitezi 0b6fd7fe14 fix(buffer_worker): check request timeout and health check interval
Port of https://github.com/emqx/emqx/pull/10154 for `release-50`

Fixes https://emqx.atlassian.net/browse/EMQX-9099

Originally, the `resume_interval`, which is what defines how often a
buffer worker will attempt to retry its inflight window, was set to
the same as the `health_check_interval`.  This had the problem that,
with default values, `health_check_interval = request_timeout`.  This
meant that, if a buffer worker with those configs were ever blocked,
all requests would have timed out by the time it retried them.

Here we change the default `resume_interval` to a reasonable value
dependent on `health_check_interval` and `request_timeout`, and also
expose that as a hidden parameter for fine tuning if necessary.
2023-04-04 08:58:36 -03:00
..
emqx chore: bump version to e5.0.2-rc.3 2023-04-03 20:23:31 +02:00
emqx_authn chore(mria): Bump version to 0.4.0 2023-03-11 00:37:25 +01:00
emqx_authz test: fix inter-suite test teardowns 2023-03-14 16:08:47 -03:00
emqx_auto_subscribe docs: fix bad i18n files 2023-02-08 17:25:22 +01:00
emqx_bridge test: fix flaky kafka consumer test 2023-03-28 14:50:55 -03:00
emqx_conf fix: running nodes should not include replica nodes 2023-04-03 20:01:37 +08:00
emqx_connector fix(redis): remove required meta from schema 2023-03-29 16:43:52 -03:00
emqx_ctl chore: change 'emqx_ctl' usage to 'emqx ctl' 2023-02-22 13:57:55 +01:00
emqx_dashboard test: add swagger.json api test 2023-03-19 13:05:32 +08:00
emqx_exhook test: fix inter-suite test teardowns 2023-03-14 16:08:47 -03:00
emqx_gateway test: fix inter-suite test teardowns 2023-03-14 16:08:47 -03:00
emqx_machine fix: stop port apps when emqx_machine_terminator shutdown 2023-03-14 15:39:50 +08:00
emqx_management Merge pull request #10128 from thalesmg/ocsp-v50-mkII 2023-03-16 13:10:48 -03:00
emqx_modules chore(mria): Bump version to 0.4.0 2023-03-11 00:37:25 +01:00
emqx_plugin_libs chore: bump app versions + add changelog 2023-03-10 18:43:19 +03:00
emqx_plugins test: improve cluster node helpers 2023-03-16 13:43:01 -03:00
emqx_prometheus chore(mria): Bump version to 0.4.0 2023-03-11 00:37:25 +01:00
emqx_psk ci: add i18n style check script 2023-02-09 11:41:52 +01:00
emqx_resource fix(buffer_worker): check request timeout and health check interval 2023-04-04 08:58:36 -03:00
emqx_retainer chore: update emqtt -> 1.8.5 2023-03-14 16:08:47 -03:00
emqx_rule_engine test: fix flaky kafka consumer test 2023-03-28 14:50:55 -03:00
emqx_slow_subs chore(mria): Bump version to 0.4.0 2023-03-11 00:37:25 +01:00
emqx_statsd fix: don't allow empty string in server_port schema 2023-03-14 09:17:45 +08:00