From 5afcd634b6968afabf6f46096ed5acab304b292d Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Mon, 4 Nov 2024 19:17:43 -0500 Subject: [PATCH] =?UTF-8?q?Extend=20"long=20idle"=20device=20range=20to=20?= =?UTF-8?q?60=E2=80=9375=20days?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../textsecuregcm/workers/NotifyIdleDevicesCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesCommand.java index fd72906e2..9ce4a27f2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesCommand.java @@ -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"));