fix not sending latest syncs to client

This commit is contained in:
zadam
2019-10-29 20:19:28 +01:00
parent 2f2a14d4b8
commit 68faa47c6f
2 changed files with 2 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ function checkSyncIdListeners() {
.filter(l => l.desiredSyncId > lastSyncId);
syncIdReachedListeners.filter(l => Date.now() > l.start - 60000)
.forEach(l => console.log(`Waiting for syncId ${l.desiredSyncId} while current is ${lastSyncId} for ${Date.now() - l.start}`));
.forEach(l => console.log(`Waiting for syncId ${l.desiredSyncId} while current is ${lastSyncId} for ${Math.floor((Date.now() - l.start) / 1000)}s`));
}
async function consumeSyncData() {