This commit is contained in:
@@ -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 分钟后过期所有已有链接
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user