Skip to content
Snippets Groups Projects
Commit 6862681b authored by Gilles Filippini's avatar Gilles Filippini
Browse files

fix: bump node:events maxlisteners to 20

to avoid the confusing warning:
`MaxListenersExceededWarning: Possible EventEmitter memory leak detected.`
parent 5311dd56
No related branches found
No related tags found
1 merge request!1415fix: bump node:events maxlisteners to 20
Pipeline #19324 passed
......@@ -32,6 +32,8 @@ const events = require("events");
const logger = require("../lib/logger").NewLogger("peering");
const constants = require("../lib/constants");
events.defaultMaxListeners = 20;
export interface Keyring {
publicKey: string;
secretKey: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment