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) ||
|
||||
elapsed >= GET_PEER_INTERVAL_LOW)) ||
|
||||
(btRuntime_->getConnections() == 0 &&
|
||||
elapsed >= GET_PEER_INTERVAL_ZERO)) &&
|
||||
!requestGroup_->downloadFinished()))) {
|
||||
elapsed >= GET_PEER_INTERVAL_ZERO))))) {
|
||||
A2_LOG_DEBUG(fmt("Issuing PeerLookup for infoHash=%s",
|
||||
bittorrent::getInfoHashString(
|
||||
requestGroup_->getDownloadContext()).c_str()));
|
||||
|
|
Loading…
Reference in New Issue