mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-22 10:45:56 +02:00
Increase max listeners in Events - experimental: may change this in the near future
This commit is contained in:
parent
64f65df7fc
commit
6325f92fa5
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ const glob = require('glob');
|
||||||
module.exports = new class Events extends events.EventEmitter {
|
module.exports = new class Events extends events.EventEmitter {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
this.setMaxListeners(32); // :TODO: play with this...
|
||||||
}
|
}
|
||||||
|
|
||||||
getSystemEvents() {
|
getSystemEvents() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue