refactor: 客服agent的切片结构调整重构
This commit is contained in:
@@ -24,6 +24,7 @@ def client() -> aioredis.Redis:
|
||||
retry=Retry(FullJitterBackoff(base=1, cap=10), retries=3),
|
||||
max_connections=settings.redis.max_connections,
|
||||
decode_responses=True,
|
||||
protocol=2, # redis-py 8 默认 RESP3(HELLO 3),Redis < 6.0 不支持
|
||||
)
|
||||
return _client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user