Skip to content

Commit b1103b2

Browse files
committed
pythongh-126434: Sleep longer.
1 parent 25236fe commit b1103b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/synchronize.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def wait(self, timeout=None):
386386
return False
387387
else:
388388
# Fixes https://github.com/python/cpython/issues/85772 by spinning and sleeping.
389-
time.sleep(0.000001) # sleep one microsecond
389+
time.sleep(0.010) # sleep 10 milliseconds
390390

391391
def __repr__(self) -> str:
392392
set_status = 'set' if self.is_set() else 'unset'

0 commit comments

Comments
 (0)