mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 03:21:23 +00:00
Peer, PeerGroup: Use 'ms' rather than 'msec' in logs.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user