fix: keep Redis upload worker blocking timeout above BRPOP
This commit is contained in:
parent
3b277cfded
commit
aa9638f6b3
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ def _client():
|
||||||
if _redis is None:
|
if _redis is None:
|
||||||
import redis.asyncio as aioredis
|
import redis.asyncio as aioredis
|
||||||
_redis = aioredis.from_url(get_settings().redis_url, decode_responses=True,
|
_redis = aioredis.from_url(get_settings().redis_url, decode_responses=True,
|
||||||
socket_connect_timeout=1, socket_timeout=5)
|
socket_connect_timeout=1, socket_timeout=10)
|
||||||
return _redis
|
return _redis
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue