-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix broken gracefull shutdown (#568)
* fix gracefull timout had to increase the `timeout_graceful_shutdown` internal config parameter. without this the server drops an error message on every shutdown. hat to check for attribute `http_server` before shutdown, because the shutdown proceeds in every process, but only in the first process this attribute is defined * only start multiprocess logging in main process had to ensure to only start multiprocess logging in main process by checking for the current process name. This is needed because of forking for pipeline creation is complaining for a deamonic process having a child (the log process). * register signals in cli function the cli() function is the main entrypoint for logprep by installing a script called "logprep" via setuptools. so nothing in the root of the module run_logprep is executed
- Loading branch information
Showing
4 changed files
with
38 additions
and
27 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
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