updated corehandlers.py to no longer use threading.isAlive, which is pending deprecation
This commit is contained in:
parent
a33c8046f5
commit
ea39f8fc6f
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
|
||||||
for thread in self.handler_threads:
|
for thread in self.handler_threads:
|
||||||
logging.info("waiting for thread: %s", thread.getName())
|
logging.info("waiting for thread: %s", thread.getName())
|
||||||
thread.join(timeout)
|
thread.join(timeout)
|
||||||
if thread.isAlive():
|
if thread.is_alive():
|
||||||
logging.warning(
|
logging.warning(
|
||||||
"joining %s failed: still alive after %s sec",
|
"joining %s failed: still alive after %s sec",
|
||||||
thread.getName(),
|
thread.getName(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue