Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 26aad79

Browse files
Updated cp-perm, set EventEmitter max listeners (#211)
1 parent 975fe28 commit 26aad79

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@
2626
"dependencies": {
2727
"async": "0.9.0",
2828
"cp-i18n-lib": "git+https://github.com/CoderDojo/cp-i18n-lib.git",
29-
"cp-permissions-plugin": "git://github.com/CoderDojo/cp-permissions-plugin#0.0.1",
3029
"cp-logs-lib": "git://github.com/CoderDojo/cp-logs-lib#v1.0.1",
31-
"cp-permissions-plugin": "git://github.com/CoderDojo/cp-permissions-plugin#0.0.1",
30+
"cp-permissions-plugin": "git://github.com/CoderDojo/cp-permissions-plugin#1.0.0",
3231
"cuid": "1.2.5",
3332
"ejs": "1.0.0",
3433
"jed": "1.1.0",

service.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'use strict';
2+
process.setMaxListeners(0);
3+
require('events').EventEmitter.prototype._maxListeners = 100;
24

35
if (process.env.NEW_RELIC_ENABLED === 'true') require('newrelic');
46

0 commit comments

Comments
 (0)