fix(endpoints): add more wiggle room for checkin interval (#5456)

pull/5543/head
Chaim Lev-Ari 3 years ago committed by GitHub
parent 7c02e4b725
commit 5ab98f41f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,7 @@ class EndpointItemController {
const now = Math.floor(Date.now() / 1000); const now = Math.floor(Date.now() / 1000);
// give checkIn some wiggle room // give checkIn some wiggle room
return now - this.model.LastCheckInDate <= checkInInterval * 2; return now - this.model.LastCheckInDate <= checkInInterval * 2 + 20;
} }
$onInit() { $onInit() {

Loading…
Cancel
Save