Skip to content

Commit 060d15d

Browse files
comm/iridium/IridiumManager: Cleanup.
# Conflicts: # src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java
1 parent b113de5 commit 060d15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public IridiumMessenger getCurrentMessenger() {
104104
}
105105

106106
private Runnable pollMessages = new Runnable() {
107-
Date lastTime = new Date(System.currentTimeMillis() - 3600 * 1000);
107+
Date lastTime = new Date(System.currentTimeMillis() - Duration.ofHours(1).toMillis());
108108
Date lastCall;
109109
boolean running = false;
110110

0 commit comments

Comments
 (0)