timeouts.

This commit is contained in:
Christopher Jeffrey 2016-03-06 02:08:32 -08:00
parent f24d4aa938
commit 99f927665a

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 || 2 * 60000; this.requestTimeout = options.requestTimeout || 10 * 60000;
this.watchMap = {}; this.watchMap = {};