From 5bb38d412695b013704f96c15cc37d94ee5ad5ea Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 9 Apr 2018 18:31:25 -0700 Subject: [PATCH] increase fetch timeout to 60 seconds for now Fixes #29 --- routes/_utils/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/_utils/ajax.js b/routes/_utils/ajax.js index 00b12f64..928e3840 100644 --- a/routes/_utils/ajax.js +++ b/routes/_utils/ajax.js @@ -1,4 +1,4 @@ -const TIMEOUT = process.browser ? 20000 : 60000 +const TIMEOUT = process.browser ? 60000 : 120000 function fetchWithTimeout (url, options) { return new Promise((resolve, reject) => {