diff --git a/store/snark.js b/store/snark.js index 4540cc8..0542a5b 100644 --- a/store/snark.js +++ b/store/snark.js @@ -55,6 +55,7 @@ async function fetchFile({ url, name, getProgress, id, retryAttempt = 0 }) { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + timeout: 10_000, onDownloadProgress: (progressEvent) => { if (typeof getProgress === 'function') { const progress = Math.round((progressEvent.loaded * 100) / 9626311)