Files
open-webui/backend/open_webui
db7f122cb0 fix(redis): add opt-in TCP socket keepalive on all client connections (#23571)
Introduces REDIS_SOCKET_KEEPALIVE and wires socket_keepalive=True
through to every Redis client created by get_redis_connection
(plain, cluster and sentinel paths, sync and async). When enabled,
the kernel sends TCP keepalive probes on idle connections so
half-closed sockets (e.g. after a silent firewall/LB reset or a NIC
flap) are detected before the next command lands on them and the
request never sees a "Connection reset by peer" error.

Defaults to off so existing deployments see no behavioural change.
Operators who want the protection set REDIS_SOCKET_KEEPALIVE=true
in their environment.

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-11 16:09:12 -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-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