Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59c8ac7 + 540ab06 commit efbcb18Copy full SHA for efbcb18
1 file changed
Lib/test/test_multiprocessing.py
@@ -1182,7 +1182,8 @@ def test_pool_worker_lifetime(self):
1182
# Refill the pool
1183
p._repopulate_pool()
1184
# Wait until all workers are alive
1185
- countdown = 5
+ # (countdown * DELTA = 5 seconds max startup process time)
1186
+ countdown = 50
1187
while countdown and not all(w.is_alive() for w in p._pool):
1188
countdown -= 1
1189
time.sleep(DELTA)
0 commit comments