Change the range for the "notify idle devices without messages" job to 30–45 days

This commit is contained in:
Jon Chambers 2024-08-30 16:00:25 -04:00 committed by Jon Chambers
parent 5122271750
commit 4c628b1cd9
1 changed files with 2 additions and 2 deletions

View File

@ -36,10 +36,10 @@ public class NotifyIdleDevicesWithoutMessagesCommand extends AbstractSinglePassC
static final LocalTime PREFERRED_NOTIFICATION_TIME = LocalTime.of(14, 0);
@VisibleForTesting
static final Duration MIN_IDLE_DURATION = Duration.ofDays(15);
static final Duration MIN_IDLE_DURATION = Duration.ofDays(30);
@VisibleForTesting
static final Duration MAX_IDLE_DURATION = Duration.ofDays(30);
static final Duration MAX_IDLE_DURATION = Duration.ofDays(45);
private static final Counter DEVICE_INSPECTED_COUNTER =
Metrics.counter(MetricsUtil.name(NotifyIdleDevicesWithoutMessagesCommand.class, "deviceInspected"));