-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace khash with maps in couch_event_server
Noticed when debugging an OTP 25 memory leak that couch_event_server didn't behave well when the system was overloaded. It blocked and prevent even process info inspection or is_alive checks: ``` > s:pinfo(whereis(couch_event_server)). ...blocked... > erlang:is_process_alive(whereis(couch_event_server)). ...blocked... ``` Added almost 100% test coverage for the couch_event_server module.
- Loading branch information
Showing
2 changed files
with
215 additions
and
73 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