Peer, PeerGroup: Use 'ms' rather than 'msec' in logs.

This commit is contained in:
Andreas Schildbach
2019-02-28 00:55:00 +01:00
parent bfafe01008
commit a2e2a3a5ae
2 changed files with 2 additions and 2 deletions

View File

@@ -1512,7 +1512,7 @@ public class Peer extends PeerSocketHandler {
if (!future.isDone()) {
long elapsed = Utils.currentTimeMillis() - startTimeMsec;
Peer.this.addPingTimeData(elapsed);
log.debug("{}: ping time is {} msec", Peer.this.toString(), elapsed);
log.debug("{}: ping time is {} ms", Peer.this.toString(), elapsed);
future.set(elapsed);
}
}

View File

@@ -501,7 +501,7 @@ public class PeerGroup implements TransactionBroadcaster {
retryTime = Math.max(retryTime, groupBackoff.getRetryTime());
if (retryTime > now) {
long delay = retryTime - now;
log.info("Waiting {} msec before next connect attempt {}", delay, addrToTry == null ? "" : "to " + addrToTry);
log.info("Waiting {} ms before next connect attempt {}", delay, addrToTry == null ? "" : "to " + addrToTry);
inactives.add(addrToTry);
executor.schedule(this, delay, TimeUnit.MILLISECONDS);
return;