From 99f927665a6c706be99e8af13fcf7ed9702f31a2 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 6 Mar 2016 02:08:32 -0800 Subject: [PATCH] timeouts. --- 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 237b5e79..0817f014 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 || 2 * 60000; + this.requestTimeout = options.requestTimeout || 10 * 60000; this.watchMap = {};