Skip to content

Commit

Permalink
Make AnomalousStatus run more frequently
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Nov 6, 2024
1 parent 591f289 commit 4043ebf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,12 @@ public void stop(@NonNull Throwable cause) throws Exception {
@Extension public static final class AnomalousStatus extends PeriodicWork {

@Override public long getRecurrencePeriod() {
return Duration.ofMinutes(30).toMillis();
return Duration.ofMinutes(5).toMillis();
}

@Override public long getInitialDelay() {
// Do not run too soon after startup, in case things are still loading, agents are still reattaching, etc.
return Duration.ofMinutes(15).toMillis();
return Duration.ofMinutes(7).toMillis();
}

/**
Expand Down

0 comments on commit 4043ebf

Please sign in to comment.