From 494f906701c695a982f99717f6bf3ffe4389feed Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 9 Apr 2018 18:33:23 -0700 Subject: [PATCH] increase fetch timeout to 60 seconds for now (#55) 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) => {