Commit 7b0ea85e authored by indexzero's avatar indexzero

[debug] Trying to repair pool busy client growth

parent 32aaf74e
...@@ -60,7 +60,7 @@ Pool.prototype.request = function () { ...@@ -60,7 +60,7 @@ Pool.prototype.request = function () {
if (args[2]) headers = args[2]; if (args[2]) headers = args[2];
if (!headers) headers = {}; if (!headers) headers = {};
if (!headers.Connection) headers.Connection = 'keep-alive'; if (!headers.Connection) headers.Connection = 'close';
self.getClient(function (client) { self.getClient(function (client) {
var errorListener = function (error) { var errorListener = function (error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment