diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2022-05-23 20:51:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 20:51:15 +0200 |
commit | ba654c43aa953c4ba5db2031e735aeefbeca77fd (patch) | |
tree | 3e909e0345823feef4faf1a8a3ec259b8f513e73 /vespajlib | |
parent | 534d4e3a7accca6df96b19c0577c2119a8b2dff3 (diff) |
Revert "Jonmv/get tester logs"
Diffstat (limited to 'vespajlib')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java b/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java index b038106843e..1edf8e4edbe 100644 --- a/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java +++ b/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java @@ -46,7 +46,7 @@ public abstract class Maintainer implements Runnable { Objects.requireNonNull(startedAt); Objects.requireNonNull(clusterHostnames); Duration initialDelay = staggeredDelay(interval, startedAt, HostName.getLocalhost(), clusterHostnames) - .plus(Duration.ofSeconds(30)); // Let the system stabilize before maintenance + .plus(Duration.ofSeconds(30)); // Let the system stabilize before maintenance service = new ScheduledThreadPoolExecutor(1, r -> new Thread(r, name() + "-worker")); service.scheduleAtFixedRate(this, initialDelay.toMillis(), interval.toMillis(), TimeUnit.MILLISECONDS); jobControl.started(name(), this); |