fix: update nameko proxy config
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
BryantHe 2023-12-06 12:42:31 +08:00
parent a5291b29c1
commit 74546e3aa7

View File

@ -32,8 +32,8 @@ def load_rpc_client(apiflask_app):
NAMEKO_AMQP_URI=str(Config.RABBITMQ_URI)
))
rpc.init_app(apiflask_app, extra_config={
'INITIAL_CONNECTIONS': 4,
'MAX_CONNECTIONS': 30,
'INITIAL_CONNECTIONS': 2,
'MAX_CONNECTIONS': 10,
})