give the server a bit of leniency before complaining about lag

This commit is contained in:
emerson 2022-02-01 17:46:14 -05:00
parent 6c1135bfe4
commit d5dd3f8f51

View file

@ -144,7 +144,7 @@ export class IRCUser {
return;
}
if (this.isSyncing) {
if ((Date.now() - this.currentSyncTime) > 15000)
if ((Date.now() - this.currentSyncTime) > 20000)
console.log(`Sync is lagging, current sync has been running for ${Date.now() - this.currentSyncTime} milliseconds`);
return;
}