Skip to content

Commit

Permalink
comm/iridium/IridiumManager: Added more info when pooling iridium mes…
Browse files Browse the repository at this point in the history
…sages.
  • Loading branch information
paulosousadias committed Oct 1, 2024
1 parent 5c7c3e2 commit 422b46f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/java/pt/lsts/neptus/comm/iridium/IridiumManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,18 @@ public void run() {

Date now = new Date();
lastCall = now;
NeptusLog.pub().info("Start polling messages from Iridium network.");
Collection<IridiumMessage> msgs = getCurrentMessenger().pollMessages(lastTime);
NeptusLog.pub().info("Polled {} messages from Iridium network.",
msgs.size());
for (IridiumMessage m : msgs) {
try {
processMessage(m);
} catch (Exception e) {
NeptusLog.pub().warn(e);
}
}
NeptusLog.pub().info("Polled {} messages from Iridium network. Took {}ms",
NeptusLog.pub().info("Processed polled {} messages from Iridium network. Took {}ms",
msgs.size(), System.currentTimeMillis() - now.getTime());

lastTime = now;
Expand Down

0 comments on commit 422b46f

Please sign in to comment.