mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-01-23 04:51:22 -08:00
Increase request timeout to allow playing on slow connections
This commit is contained in:
parent
574a9d9d25
commit
4c515eb6e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue