Skip to content

Commit

Permalink
Fix chaos testing failed (milvus-io#602)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangyu Wang <[email protected]>
  • Loading branch information
Xiangyu Wang authored Jul 8, 2021
1 parent 2791faf commit 31e1afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/client/stub.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _connection(self):
if self._pool:
return self._pool.fetch()

def _update_connection_pool(self, channel):
def _update_connection_pool(self, channel=None):
self._pool = None
if self._pool_type == "QueuePool":
self._pool = ConnectionPool(self._pool_uri, **self._pool_kwargs)
Expand Down

0 comments on commit 31e1afc

Please sign in to comment.