PYTHON-755 Don't wait forever for monitor threads during interpreter shutdown.
This commit is contained in:
parent
41dc866e33
commit
0397ab71bb
@ -87,7 +87,7 @@ def shutdown_monitors():
|
||||
monitor = ref()
|
||||
if monitor:
|
||||
monitor.shutdown()
|
||||
monitor.join()
|
||||
monitor.join(10)
|
||||
atexit.register(shutdown_monitors)
|
||||
|
||||
def _partition_node(node):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user