forked from chainguard-dev/registry-redirect
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid deadlock if continuous stream of logs are received
Previous implementation would not start the shutdown process until no incoming http request is received. The issue is that, in case a constant stream of events, this would deadlock and never refuse new connections. Signed-off-by: grouville <[email protected]>
- Loading branch information
grouville
committed
Aug 3, 2023
1 parent
eabb86d
commit 529141d
Showing
2 changed files
with
6 additions
and
6 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