This repository has been archived by the owner. It is now read-only.
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Minimize message from monitors
I wasn't deduping monitors before. That bugged me enough to add an extra ets table so that we can dedupe those messages and avoid the extra work done by couch_event_registry.
- Loading branch information
Showing
2 changed files
with
39 additions
and
29 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
@@ -11,9 +11,9 @@ | ||
% the License. | ||
|
||
-define(REGISTRY_TABLE, couch_event_registry). | ||
-define(MONITOR_TABLE, couch_event_registry_monitors). | ||
|
||
-record(client, { | ||
dbname, | ||
pid, | ||
ref | ||
pid | ||
}). |
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