From 031dcd23ab205ebc6f43997a6ac7e79d89809803 Mon Sep 17 00:00:00 2001 From: jeff.jiang <jeff.jiang@yoho.cn> Date: Fri, 28 Oct 2016 16:08:29 +0800 Subject: [PATCH] remove request keep alive --- app.js | 4 ---- package.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app.js b/app.js index ec96bdb..1466514 100644 --- a/app.js +++ b/app.js @@ -14,10 +14,6 @@ const yohoLib = require('yoho-node-lib'); // 全局注册library yohoLib.global(config); -const EventEmitter = require('events'); - -EventEmitter.defaultMaxListeners = 100; - const express = require('express'); const compression = require('compression'); const path = require('path'); diff --git a/package.json b/package.json index 25d9589..bfea5a6 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "request-ip": "^1.2.2", "serve-favicon": "^2.3.0", "uuid": "^2.0.2", - "yoho-node-lib": "0.1.28", + "yoho-node-lib": "0.1.29", "yoho-zookeeper": "^1.0.3" }, "devDependencies": { -- libgit2 0.24.0