mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-12 06:38:53 +00:00
Revert "Increase max event listeners. https://github.com/Koenkk/zigbee2mqtt/issues/9822"
This reverts commit 51321affcf.
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ export default class EventBus {
|
||||
private emitter = new events.EventEmitter();
|
||||
|
||||
constructor(onError: (error: Error) => void) {
|
||||
this.emitter.setMaxListeners(150);
|
||||
this.emitter.setMaxListeners(100);
|
||||
this.emitter.on('error', onError);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user