From 2802092231c5936af272bbdfb685cd793f01394f Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 21 Dec 2015 13:49:14 +0000 Subject: [PATCH] Add 60s to client-side timeout to account for slow HSes --- lib/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sync.js b/lib/sync.js index 4d1cd71e9..ff4e8ba9d 100644 --- a/lib/sync.js +++ b/lib/sync.js @@ -19,7 +19,7 @@ var Filter = require("./filter"); // beyond that and wedge forever, so we need to track how long we are willing // to keep open the connection. This constant is *ADDED* to the timeout= value // to determine the max time we're willing to wait. -var BUFFER_PERIOD_MS = 20 * 1000; +var BUFFER_PERIOD_MS = 80 * 1000; function getFilterName(userId, suffix) { // scope this on the user ID because people may login on many accounts