Browse code

Chore: fix setPeriodic call

Thomas Cataldo authored on 28/06/2019 04:07:01
Showing 1 changed files
... ...
@@ -19,7 +19,7 @@ public final class SystemdWatchdogVerticle extends Verticle {
19 19
 
20 20
 	public void start() {
21 21
 		SystemD.get().setupWatchdog(20, TimeUnit.SECONDS);
22
-		vertx.setPeriodic(10, tid -> {
22
+		vertx.setPeriodic(10000, tid -> {
23 23
 			// to check our watchdog works as expected
24 24
 			File f = new File("/root/tika.trigger");
25 25
 			if (f.exists()) {