emqx/apps/emqx_connector/i18n
Kjell Winblad 1cf01197bb fix: increase heartbeat time to avoid extreme MongoDB logging
Our MongoDB driver creates a new temporary connection, for every active
connection, to just do a single heartbeat test. There is configurable
delay between every heartbeat test. When the user has an EMQX cluster
with a MongoDB bridge (to a MongoDB replica set), there will be a lot of
connections. Furthermore, as MongoDB creates a log entry every time a
new connection is created, the log will be flooded with info about new
connection. One user have reported more than 1MB of log data in a 10
minute period.

This commit tries to fix this by increasing the default delay between
heartbeats. A better fix would be to change the MongoDB driver so that
it does not create a new connection just to do a heartbeat check, but
this is more complicated so we leave this to the future. We might also
swap out the current MongoDB driver to something better.

Fixes:
https://github.com/emqx/emqx/issues/9851
2023-03-13 14:58:53 +01:00
..
emqx_connector_api.conf ci: add i18n style check script 2023-02-09 11:41:52 +01:00
emqx_connector_http.conf ci: add i18n style check script 2023-02-09 11:41:52 +01:00
emqx_connector_ldap.conf chore: add i18n file for ldap connector 2023-01-06 17:28:06 +08:00
emqx_connector_mongo.conf fix: increase heartbeat time to avoid extreme MongoDB logging 2023-03-13 14:58:53 +01:00
emqx_connector_mqtt.conf refactor: new config structure for mqtt bridge 2022-08-22 18:24:59 +08:00
emqx_connector_mqtt_schema.conf docs: improve bridge_mode description 2023-02-15 15:24:10 +01:00
emqx_connector_mysql.conf ci: add i18n style check script 2023-02-09 11:41:52 +01:00
emqx_connector_pgsql.conf ci: add i18n style check script 2023-02-09 11:41:52 +01:00
emqx_connector_redis.conf ci: add i18n style check script 2023-02-09 11:41:52 +01:00
emqx_connector_schema_lib.conf docs: update pool_size doc 2023-01-13 07:46:23 +01:00