Files
mtusi2026lab2/src
ricoromaandClaude Opus 5.5 d7c9a5972b fix: retry Valkey once on a dropped connection
The client passed the sync redis.retry.Retry to async connections, so no
retry could ever run. Use redis.asyncio.retry.Retry with one immediate
retry on ConnectionError only: after a Valkey restart the stale pooled
connection is reopened instead of switching the cache off for 5 s.
Timeouts are not retried, and asyncio.timeout bounds each cache command
(pool wait, connect, retry, reply) by [cache] timeout_seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:41:15 +03:00
..
2026-10-01 21:17:55 +03:00
2026-10-01 21:17:55 +03:00
2026-10-01 21:17:55 +03:00
2026-10-01 21:17:55 +03:00