This website works better with JavaScript.
Home
Explore
Help
Sign In
perelman
/
fear_tracker
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
1
Releases
0
Wiki
Activity
Browse Source
Wait to retry on error.
feature/long-poll-status
Daniel Perelman
2 years ago
parent
44402c3907
commit
9411b21d0f
1 changed files
with
4 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-3
fear_tracker/templates/game.html
+ 4
- 3
fear_tracker/templates/game.html
View File
@@ -392,9 +392,10 @@
statusObj = data;
}
})
.catch(() => {})
.then(() => {
checkStatus();
.then(checkStatus)
.catch(() => {
// If something went wrong, wait a few seconds before retrying.
setTimeout(checkStatus, 5000);
});
}
checkStatus();
Write
Preview
Loading…
Cancel
Save