fix: adjust
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-02-05 14:17:52 +08:00
parent dd65676fb1
commit 2093bbf9f6
2 changed files with 14 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ def load_rpc_client(apiflask_app):
rpc.init_app(apiflask_app, extra_config={
'INITIAL_CONNECTIONS': 2,
'MAX_CONNECTIONS': 10,
'POOL_RECYCLE': 360 # 6 分钟后过期所有已有链接
'POOL_RECYCLE': 1800 # 30 分钟后过期所有已有链接
})