mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-06 15:04:34 +08:00
Remove unnecessary force reannounce on interface alerts
This isn't necessary since it can cause issues by doing unnecessary reannounce during startup and network address refresh. This impact of this can be great if it happens on a regular basis and if someone has a lot of torrents. PR #17261.
This commit is contained in:
parent
f8a304abdc
commit
1abeac8811
@ -5186,9 +5186,6 @@ void Session::handleListenSucceededAlert(const lt::listen_succeeded_alert *p)
|
||||
const QString proto {toString(p->socket_type)};
|
||||
LogMsg(tr("Successfully listening on IP. IP: \"%1\". Port: \"%2/%3\"")
|
||||
.arg(toString(p->address), proto, QString::number(p->port)), Log::INFO);
|
||||
|
||||
// Force reannounce on all torrents because some trackers blacklist some ports
|
||||
reannounceToAllTrackers();
|
||||
}
|
||||
|
||||
void Session::handleListenFailedAlert(const lt::listen_failed_alert *p)
|
||||
|
Loading…
Reference in New Issue
Block a user