mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-20 14:15:51 +00:00
Fix the comment for PeerGroup.getPingIntervalMsec()
This commit is contained in:
parent
faf8d7fabf
commit
3b9a136eca
@ -2206,7 +2206,7 @@ public class PeerGroup implements TransactionBroadcaster {
|
|||||||
/**
|
/**
|
||||||
* Returns the period between pings for an individual peer. Setting this lower means more accurate and timely ping
|
* Returns the period between pings for an individual peer. Setting this lower means more accurate and timely ping
|
||||||
* times are available via {@link org.bitcoinj.core.Peer#getLastPingTime()} but it increases load on the
|
* times are available via {@link org.bitcoinj.core.Peer#getLastPingTime()} but it increases load on the
|
||||||
* remote node. It defaults to 5000.
|
* remote node. It defaults to {@link PeerGroup#DEFAULT_PING_INTERVAL_MSEC}.
|
||||||
*/
|
*/
|
||||||
public long getPingIntervalMsec() {
|
public long getPingIntervalMsec() {
|
||||||
lock.lock();
|
lock.lock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user