fixed number format

This commit is contained in:
Jan Prochazka
2022-11-13 18:39:13 +01:00
parent cd92231769
commit cbd3f1bae9
6 changed files with 10 additions and 10 deletions

View File

@@ -111,11 +111,11 @@ function start() {
setInterval(() => {
const time = new Date().getTime();
if (time - lastPing > 40_000) {
if (time - lastPing > 40 * 1000) {
console.log('Server connection not alive, exiting');
process.exit(0);
}
}, 10_000);
}, 10 * 1000);
process.on('message', async message => {
if (handleProcessCommunication(message)) return;