mirror of https://github.com/aria2/aria2
Make seeder do more get_peers to announce its presence
parent
9486663259
commit
a0706f5a44
|
@ -96,8 +96,7 @@ bool DHTGetPeersCommand::execute()
|
||||||
((numRetry_ && elapsed >= GET_PEER_INTERVAL_RETRY) ||
|
((numRetry_ && elapsed >= GET_PEER_INTERVAL_RETRY) ||
|
||||||
elapsed >= GET_PEER_INTERVAL_LOW)) ||
|
elapsed >= GET_PEER_INTERVAL_LOW)) ||
|
||||||
(btRuntime_->getConnections() == 0 &&
|
(btRuntime_->getConnections() == 0 &&
|
||||||
elapsed >= GET_PEER_INTERVAL_ZERO)) &&
|
elapsed >= GET_PEER_INTERVAL_ZERO))))) {
|
||||||
!requestGroup_->downloadFinished()))) {
|
|
||||||
A2_LOG_DEBUG(fmt("Issuing PeerLookup for infoHash=%s",
|
A2_LOG_DEBUG(fmt("Issuing PeerLookup for infoHash=%s",
|
||||||
bittorrent::getInfoHashString(
|
bittorrent::getInfoHashString(
|
||||||
requestGroup_->getDownloadContext()).c_str()));
|
requestGroup_->getDownloadContext()).c_str()));
|
||||||
|
|
Loading…
Reference in New Issue