Files
open-webui/backend/open_webui
588b81eeda fix(redis): add opt-in health_check_interval for stale pooled connections (#23573)
Introduces REDIS_HEALTH_CHECK_INTERVAL and wires it through to every
Redis client created by get_redis_connection (plain, cluster and
sentinel paths, sync and async). When set, redis-py will PING any
connection idle longer than the interval on checkout, so dead sockets
are surfaced as reconnectable errors before a real command lands on
them.

Defaults to unset (empty string) so existing deployments see no
behavioural change. Operators who want the protection should set it
shorter than the Redis server `timeout` setting and any firewall/LB
idle timeout on the path to Redis.

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-11 16:17:19 -06:00
..
2026-04-01 18:26:46 -05:00
2026-04-02 22:34:51 -05:00
2026-03-26 19:01:33 -05:00
2026-04-01 07:42:11 -05:00
2026-03-23 23:39:52 -05:00
2026-03-24 15:41:26 -05:00
2026-04-02 19:31:15 -05:00
2026-03-25 17:29:57 -05:00
2026-04-08 13:34:23 -07:00
2026-04-02 19:31:15 -05:00