mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Adding support for 10.3.1
Adding keepalive support for the remote_comms sockets, allowing them to reuse the TCP/SSL connection for much better performance in high-load environments.
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ function Database() {
|
||||
this.sendQueue = async.queue(function (task, callback) {
|
||||
async.doUntil(
|
||||
function (intCallback) {
|
||||
request.post({url: global.config.general.shareHost, body: task.body}, function (error, response, body) {
|
||||
request.post({url: global.config.general.shareHost, body: task.body, forever: true}, function (error, response, body) {
|
||||
if (!error) {
|
||||
return intCallback(null, response.statusCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user