mirror of https://github.com/portainer/portainer
fix(endpoints): add more wiggle room for checkin interval (#5456)
parent
7c02e4b725
commit
5ab98f41f1
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue