fix: load_rpc_client
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
bffcd78f99
commit
35ffe3554c
|
@ -31,7 +31,10 @@ def load_rpc_client(apiflask_app):
|
|||
apiflask_app.config.update(dict(
|
||||
NAMEKO_AMQP_URI=str(Config.RABBITMQ_URI)
|
||||
))
|
||||
rpc.init_app(apiflask_app)
|
||||
rpc.init_app(apiflask_app, extra_config={
|
||||
'INITIAL_CONNECTIONS': 4,
|
||||
'MAX_CONNECTIONS': 30,
|
||||
})
|
||||
|
||||
|
||||
def create_app():
|
||||
|
|
Loading…
Reference in New Issue