request timeout.
This commit is contained in:
parent
960ede9db4
commit
40f9c62b6e
@ -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 = {};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user