Change the range for the "notify idle devices without messages" job to 30–45 days
This commit is contained in:
parent
5122271750
commit
4c628b1cd9
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue