fix typo of time desync detection

This commit is contained in:
creeper123123321 2021-09-04 11:35:00 -03:00 committed by GitHub
parent 8e9290fcc9
commit b93abca795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,7 +241,7 @@ function ohNo() {
try {
icanhazepoch().then(sec => {
const calcDelta = Date.now() - sec * 1000;
if (Math.abs(calcDelta) > 100000) {
if (Math.abs(calcDelta) > 10000) {
addToast("Time isn't synchronized", "Please synchronize your computer time to NTP servers");
deltaTime = calcDelta;
console.log("applying delta time " + deltaTime);