summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2020-07-06 23:55:59 +0900
committerGitHub <noreply@github.com>2020-07-06 23:55:59 +0900
commit48c94907c2d3644cc25d71453978eeb93eb5f340 (patch)
tree2bcb23faade7257ce77d274f9f85e30bd5383524 /src/misc
parent:art: (diff)
downloadsharkey-48c94907c2d3644cc25d71453978eeb93eb5f340.tar.gz
sharkey-48c94907c2d3644cc25d71453978eeb93eb5f340.tar.bz2
sharkey-48c94907c2d3644cc25d71453978eeb93eb5f340.zip
Increase download timeout to 60 sec (#6503)
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/download-url.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/download-url.ts b/src/misc/download-url.ts
index 9c8439f2c0..aaba302a5c 100644
--- a/src/misc/download-url.ts
+++ b/src/misc/download-url.ts
@@ -17,7 +17,7 @@ export async function downloadUrl(url: string, path: string) {
const controller = new AbortController();
setTimeout(() => {
controller.abort();
- }, 11 * 1000);
+ }, 60 * 1000);
const response = await fetch(new URL(url).href, {
headers: {