Increase the linked device idle timeout to 45 days

This commit is contained in:
Ravi Khadiwala
2024-10-01 16:55:34 -05:00
committed by ravi-signal
parent 100955a7db
commit 0eb7db8de5
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ public class Device {
public static final List<Byte> ALL_POSSIBLE_DEVICE_IDS = IntStream.range(Device.PRIMARY_ID, MAXIMUM_DEVICE_ID).boxed()
.map(Integer::byteValue).collect(Collectors.toList());
private static final long ALLOWED_LINKED_IDLE_MILLIS = Duration.ofDays(30).toMillis();
private static final long ALLOWED_LINKED_IDLE_MILLIS = Duration.ofDays(45).toMillis();
private static final long ALLOWED_PRIMARY_IDLE_MILLIS = Duration.ofDays(180).toMillis();
@JsonDeserialize(using = DeviceIdDeserializer.class)