1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 13:25:26 +02:00

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

This commit is contained in:
Chaim Lev-Ari 2021-08-26 07:28:39 +03:00 committed by GitHub
parent 7c02e4b725
commit 5ab98f41f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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