From 060d15d9ddce3181d104d4797b5f5a900971bbad Mon Sep 17 00:00:00 2001 From: Paulo Dias Date: Thu, 1 Aug 2024 18:49:02 +0100 Subject: [PATCH] comm/iridium/IridiumManager: Cleanup. # Conflicts: # src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java --- src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java b/src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java index 0a732a7d7f..77b059a611 100644 --- a/src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java +++ b/src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java @@ -104,7 +104,7 @@ public IridiumMessenger getCurrentMessenger() { } private Runnable pollMessages = new Runnable() { - Date lastTime = new Date(System.currentTimeMillis() - 3600 * 1000); + Date lastTime = new Date(System.currentTimeMillis() - Duration.ofHours(1).toMillis()); Date lastCall; boolean running = false;