From 77bc4a0706f29029b0ef8e6836a435aea0208038 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Thu, 1 Jun 2023 05:04:51 +0800 Subject: [PATCH] fix flask_nameko bug 5 --- chassis/flask_nameko/proxies.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chassis/flask_nameko/proxies.py b/chassis/flask_nameko/proxies.py index 1cf12cd..825fd09 100644 --- a/chassis/flask_nameko/proxies.py +++ b/chassis/flask_nameko/proxies.py @@ -36,8 +36,7 @@ class PooledClusterRpcProxy(object): def _get_nameko_connection(self): proxy = ClusterRpcClient( - self._config, - timeout=self._config.get('RPC_TIMEOUT', None) + uri=self._config.get('uri') ) return proxy.start()