Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
javaGitHub2022 committed Jan 8, 2024
1 parent 6cffd71 commit f201c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nebula3/gclient/net/ConnectionPool.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ def _remove_idle_unusable_connection(self):
conns.remove(connection)
continue
if (
self._configs.idle_time != 0
and connection.idle_time() > self._configs.idle_time
self._configs.idle_time != 0
and connection.idle_time() > self._configs.idle_time
):
logger.debug(
'Remove the idle connection to {}'.format(
Expand Down

0 comments on commit f201c0d

Please sign in to comment.