Исправления после проверки: кэш, cursor, обработка ошибок

This commit is contained in:
Queenfish
2026-10-15 19:46:32 +03:00
parent 6bfbcf74fc
commit 95d408986e
8 changed files with 179 additions and 23 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ def make_cache() -> Cache:
client = redis.from_url(
config.CACHE_URL,
decode_responses=True,
socket_connect_timeout=2,
socket_timeout=2,
socket_connect_timeout=10,
socket_timeout=10,
)
return Cache(client)