Double all timeout values to prevent download/upsert timeouts
This commit is contained in:
@@ -22,8 +22,8 @@ async def get_redis() -> aioredis.Redis:
|
||||
redis_client = aioredis.from_url(
|
||||
settings.REDIS_URL,
|
||||
decode_responses=True,
|
||||
socket_connect_timeout=5,
|
||||
socket_timeout=5,
|
||||
socket_connect_timeout=10,
|
||||
socket_timeout=10,
|
||||
)
|
||||
await redis_client.ping()
|
||||
logger.info("Connected to Redis")
|
||||
|
||||
Reference in New Issue
Block a user