aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/schedule
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-14 18:10:56 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-14 18:10:56 -0700
commitf5dcafaf60fd41c5a2cd587e9ecf40e67d235d59 (patch)
tree991bde6884672a1abb03befe0d8c52e822b0acfc /src/main/java/org/traccar/schedule
parent437a7651096ecdd8e9cabeeca760b9af89b10458 (diff)
downloadtrackermap-server-f5dcafaf60fd41c5a2cd587e9ecf40e67d235d59.tar.gz
trackermap-server-f5dcafaf60fd41c5a2cd587e9ecf40e67d235d59.tar.bz2
trackermap-server-f5dcafaf60fd41c5a2cd587e9ecf40e67d235d59.zip
Use schedule manager for health check
Diffstat (limited to 'src/main/java/org/traccar/schedule')
-rw-r--r--src/main/java/org/traccar/schedule/ScheduleManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/schedule/ScheduleManager.java b/src/main/java/org/traccar/schedule/ScheduleManager.java
index d43285451..a1679717f 100644
--- a/src/main/java/org/traccar/schedule/ScheduleManager.java
+++ b/src/main/java/org/traccar/schedule/ScheduleManager.java
@@ -16,6 +16,7 @@
package org.traccar.schedule;
import org.traccar.LifecycleObject;
+import org.traccar.api.HealthCheckService;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
@@ -30,6 +31,7 @@ public class ScheduleManager implements LifecycleObject {
new TaskDeviceInactivityCheck().schedule(executor);
new TaskWebSocketKeepalive().schedule(executor);
+ new HealthCheckService().schedule(executor);
}
@Override