commit | e469c602ebf5c4e8178dd61c0d643c32b5213f03 | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@gmail.com> | Wed Feb 07 19:05:47 2024 -0500 |
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | Wed Feb 14 22:44:02 2024 -0500 |
tree | 5329a0994c9787487723f50aae88f844d3b3ac6b | |
parent | 6e541003baf5331eb8817a054bc3b4c20a8fbaca [diff] |
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.