From 40f9c62b6e77f3235c78c259871a3c842d96e6ff Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 6 Mar 2016 11:41:24 -0800 Subject: [PATCH] request timeout. --- lib/bcoin/pool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index b5a91944..8fca95cc 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -59,7 +59,7 @@ function Pool(node, options) { options.headers = true; } else { if (options.headers == null) - options.headers = true; + options.headers = false; } this.syncing = false; @@ -71,7 +71,7 @@ function Pool(node, options) { interval: options.loadInterval || 20000 }; - this.requestTimeout = options.requestTimeout || 10 * 60000; + this.requestTimeout = options.requestTimeout || 20 * 60000; this.watchMap = {};