-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lock.c: Don't assert if MAX_READERS is exceeded.
This was initially done to draw attention to an unusually high number of readers, but this can happen legitimately, such as if we get a large number of connections at the same time, causing a bunch of events to be generated (potentially more than MAX_READERS). While this may or may not be malicious, there's nothing wrong on our side, so asserting is inappropriate, just log a warning only.
- Loading branch information
1 parent
23b4859
commit 36e3075
Showing
1 changed file
with
10 additions
and
5 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