commit | e8d9867300854310a22edae01533b4c59e442515 | [log] [tgz] |
---|---|---|
author | Peter Lee <peter@corenova.com> | Thu Jul 28 04:25:58 2016 -0700 |
committer | Peter Lee <peter@corenova.com> | Thu Jul 28 04:25:58 2016 -0700 |
tree | 7b41538700994fdaf23691aab4551ce96e3e661d | |
parent | d02309b8f7b9d0bb32865ac3e0d2d0f643f2dd3c [diff] |
temporarily increase default max listeners to suppress warnings
diff --git a/src/server.coffee b/src/server.coffee index 6601402..fd1f395 100644 --- a/src/server.coffee +++ b/src/server.coffee
@@ -1,12 +1,13 @@ +require('events').EventEmitter.defaultMaxListeners = 100 yang = require('yang-js').register() require('yang-express').run { - + port: 5050 models: [ yang.require 'cord-core' yang.require 'xos-core' ] data: require '../sample-data.json' - + }