Disable performance alert

The alert is too annoying and there is no control knob for tuning it, so
disable it in v4_4_x branch.
Closes #16462.
This commit is contained in:
Chocobo1
2022-03-07 13:38:20 +08:00
parent 5d161d2477
commit d26e582cc1
3 changed files with 0 additions and 14 deletions

View File

@@ -1069,7 +1069,6 @@ void Session::initializeNativeSession()
| lt::alert::file_progress_notification
| lt::alert::ip_block_notification
| lt::alert::peer_notification
| lt::alert::performance_warning
| lt::alert::port_mapping_notification
| lt::alert::status_notification
| lt::alert::storage_notification
@@ -4652,9 +4651,6 @@ void Session::handleAlert(const lt::alert *a)
case lt::fastresume_rejected_alert::alert_type:
case lt::torrent_checked_alert::alert_type:
case lt::metadata_received_alert::alert_type:
case lt::performance_alert::alert_type:
dispatchTorrentAlert(a);
break;
case lt::state_update_alert::alert_type:
handleStateUpdateAlert(static_cast<const lt::state_update_alert*>(a));
break;