Increase request timeout to allow playing on slow connections
This commit is contained in:
parent
574a9d9d25
commit
4c515eb6e8
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue