Alerting: Limit redis pool size to 5 and make configurable (#74057)

* Limit redis pool size to 5 and expose it in config ini

* Coerce negative pool sizes to the default
This commit is contained in:
Alexander Weaver
2023-08-29 14:59:12 -05:00
committed by GitHub
parent d8fd4c2cbe
commit dfba94e052
4 changed files with 15 additions and 0 deletions

View File

@@ -1063,6 +1063,9 @@ ha_redis_prefix =
# provided, a random one will be generated.
ha_redis_peer_name =
# The maximum number of simultaneous redis connections.
ha_redis_max_conns = 5
# Listen address/hostname and port to receive unified alerting messages for other Grafana instances. The port is used for both TCP and UDP. It is assumed other Grafana instances are also running on the same port.
ha_listen_address = "0.0.0.0:9094"