Increase download timeout to 60 sec (#6503)

This commit is contained in:
MeiMei 2020-07-06 23:55:59 +09:00 committed by GitHub
parent 4fd06369d3
commit 48c94907c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {