Increase request timeout to allow playing on slow connections

This commit is contained in:
tobspr 2022-06-17 17:48:46 +02:00
parent 574a9d9d25
commit 4c515eb6e8
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class LoaderImpl {
return Promise.race([
new Promise((resolve, reject) => {
setTimeout(reject, G_IS_DEV ? 500 : 10000);
setTimeout(() => reject("loader request timeout"), G_IS_DEV ? 500 : 30000);
}),
new Promise(resolve => {