Skip to content

Commit

Permalink
Avoid deprecation warning for setDaemon
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1x committed Sep 7, 2024
1 parent 9625820 commit f02ebd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebula3/gclient/net/ConnectionPool.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,5 +338,5 @@ def _period_detect(self):
self.update_servers_status()
self._remove_idle_unusable_connection()
timer = Timer(self._configs.interval_check, self._period_detect)
timer.setDaemon(True)
timer.daemon = True
timer.start()

0 comments on commit f02ebd9

Please sign in to comment.