request timeout.

This commit is contained in:
Christopher Jeffrey 2016-03-06 11:41:24 -08:00
parent 960ede9db4
commit 40f9c62b6e

View File

@ -59,7 +59,7 @@ function Pool(node, options) {
options.headers = true; options.headers = true;
} else { } else {
if (options.headers == null) if (options.headers == null)
options.headers = true; options.headers = false;
} }
this.syncing = false; this.syncing = false;
@ -71,7 +71,7 @@ function Pool(node, options) {
interval: options.loadInterval || 20000 interval: options.loadInterval || 20000
}; };
this.requestTimeout = options.requestTimeout || 10 * 60000; this.requestTimeout = options.requestTimeout || 20 * 60000;
this.watchMap = {}; this.watchMap = {};