Skip to content

Commit

Permalink
Extend "long idle" device range to 60–75 days
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-signal committed Nov 5, 2024
1 parent 00ca58e commit 5afcd63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ public class NotifyIdleDevicesCommand extends AbstractSinglePassCrawlAccountsCom
static final Duration MAX_SHORT_IDLE_DURATION = Duration.ofDays(30);

@VisibleForTesting
static final Duration MIN_LONG_IDLE_DURATION = Duration.ofDays(30);
static final Duration MIN_LONG_IDLE_DURATION = Duration.ofDays(60);

@VisibleForTesting
static final Duration MAX_LONG_IDLE_DURATION = Duration.ofDays(45);
static final Duration MAX_LONG_IDLE_DURATION = Duration.ofDays(75);

private static final Counter DEVICE_INSPECTED_COUNTER =
Metrics.counter(MetricsUtil.name(NotifyIdleDevicesCommand.class, "deviceInspected"));
Expand Down

0 comments on commit 5afcd63

Please sign in to comment.