mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Don't rely on python internal implementation.
Set a safe timeout value as we cannot assume, that the current implementation of busy-waiting won't be changed in the future.
This commit is contained in:
parent
6c87df3364
commit
8d4eac5ea1
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ try:
|
|||
# the number is irrelevant -- the only thing that matters, is that it is
|
||||
# larger than 0.05
|
||||
# this is due to python implementing its own busy-waiting logic
|
||||
server_exited.wait(10.0)
|
||||
server_exited.wait(5.0)
|
||||
if server_exited.is_set():
|
||||
break
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue