From 4c628b1cd94dc8c74565b151b5e781189c75c258 Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Fri, 30 Aug 2024 16:00:25 -0400 Subject: [PATCH] =?UTF-8?q?Change=20the=20range=20for=20the=20"notify=20id?= =?UTF-8?q?le=20devices=20without=20messages"=20job=20to=2030=E2=80=9345?= =?UTF-8?q?=20days?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workers/NotifyIdleDevicesWithoutMessagesCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesWithoutMessagesCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesWithoutMessagesCommand.java index 7e9aa17f8..8ff7b2194 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesWithoutMessagesCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesWithoutMessagesCommand.java @@ -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"));