1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-11 01:38:08 +01:00

increase fetch timeout to 60 seconds for now (#55)

Fixes #29
This commit is contained in:
Nolan Lawson 2018-04-09 18:33:23 -07:00 committed by GitHub
parent 7ae3212c55
commit 494f906701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {