-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workers kill timeout option (#435)
* implement a workers graceful timeout * add parameter to readme * fix wording / linting * remove '.' * ruff * make graceful timeout an int range and disable it per default, add tests * add runtime threading mode * lint * ruff * skip graceful restart test on windows * no restart on windows * revert yielding the pid and separating restart tests * improve code comment * only sleep if necessary * revert tests * revert conftest from upstream master * fix ruff error * Minor refactor --------- Co-authored-by: Giovanni Barillari <[email protected]>
- Loading branch information
1 parent
6f3aa5c
commit bde1255
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters