diff --git a/nebula3/gclient/net/ConnectionPool.py b/nebula3/gclient/net/ConnectionPool.py index db5dc06f..e53750d1 100644 --- a/nebula3/gclient/net/ConnectionPool.py +++ b/nebula3/gclient/net/ConnectionPool.py @@ -307,9 +307,7 @@ def _remove_idle_unusable_connection(self): ) conns.remove(connection) continue - if ( - self._configs.idle_time != 0 - ): + if self._configs.idle_time != 0: logger.debug( "Remove the idle connection to {}".format( connection.get_address()