Dockerfile, terminate worker on reconnect

This commit is contained in:
AlecM33
2023-01-19 19:10:59 -05:00
parent 36c48affc9
commit 3ab5f2ff53
3 changed files with 8 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ export class InProgress {
);
setTimeout(() => {
if (this.socket.hasListeners(globals.EVENT_IDS.GET_TIME_REMAINING)) {
document.getElementById('game-timer').innerText = 'could not retrieve';
document.getElementById('game-timer').innerText = 'Timer not found.';
document.getElementById('game-timer').classList.add('timer-error');
}
}, 15000);