diff --git a/chassis/flask_nameko/proxies.py b/chassis/flask_nameko/proxies.py index 24931b2..25f7c7e 100644 --- a/chassis/flask_nameko/proxies.py +++ b/chassis/flask_nameko/proxies.py @@ -60,10 +60,10 @@ class LazyServiceProxy(object): class FlaskPooledClusterRpcProxy(PooledClusterRpcProxy): - def __init__(self, app=None, connect_on_method_call=True): + def __init__(self, app=None, connect_on_method_call=True, extra_config=None): self._connect_on_method_call = connect_on_method_call if app: - self.init_app(app) + self.init_app(app, extra_config=extra_config) def init_app(self, app, extra_config=None): config = dict()