forked from encode/uvicorn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt bind_socket to make it usable with multiple processes (encode#1009
) * Adapt bind_socket to make it usable with multple processes * Lint * we are in single proc here * Remove socket file also in reloader * Tests * Tests * Remove socket on close * Changed if / else to check uds / fds * Refactored logging inside bind_socket * Added test for fd * Refactored removal of socket * Minimized diff post merge
- Loading branch information
Showing
3 changed files
with
101 additions
and
28 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