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

@@ -29,12 +29,12 @@ export function subscribeConnectionPingers() {
openedConnections.subscribe(value => {
doServerPing(value);
if (openedConnectionsHandle) window.clearInterval(openedConnectionsHandle);
openedConnectionsHandle = window.setInterval(() => doServerPing(value), 30_000);
openedConnectionsHandle = window.setInterval(() => doServerPing(value), 30 * 1000);
});
currentDatabase.subscribe(value => {
doDatabasePing(value);
if (currentDatabaseHandle) window.clearInterval(currentDatabaseHandle);
currentDatabaseHandle = window.setInterval(() => doDatabasePing(value), 30_000);
currentDatabaseHandle = window.setInterval(() => doDatabasePing(value), 30 * 1000);
});
}