diff --git a/app/__init__.py b/app/__init__.py index 8f04000..57a05c6 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -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, })