From f0a88b736765a7275defc1be7088de77df5c8538 Mon Sep 17 00:00:00 2001 From: Richard Wei <54336863+WaysonWei@users.noreply.github.com> Date: Mon, 27 Sep 2021 20:33:46 +1300 Subject: [PATCH] add wiggle room back to edge endpoint (#5739) --- .../endpoint-list/endpoint-item/endpoint-item-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portainer/components/endpoint-list/endpoint-item/endpoint-item-controller.js b/app/portainer/components/endpoint-list/endpoint-item/endpoint-item-controller.js index 1ca24a0a1..bd2892c5d 100644 --- a/app/portainer/components/endpoint-list/endpoint-item/endpoint-item-controller.js +++ b/app/portainer/components/endpoint-list/endpoint-item/endpoint-item-controller.js @@ -37,7 +37,7 @@ class EndpointItemController { const checkInInterval = this.model.EdgeCheckinInterval; // give checkIn some wiggle room - return this.endpointInitTime - this.model.LastCheckInDate <= checkInInterval * 2; + return this.endpointInitTime - this.model.LastCheckInDate <= checkInInterval * 2 + 20; } $onInit() {