Bump `file_error_alert` priority
This alert's priority must be higher than `block_downloading_alert`'s to allow custom handling of file errors. With progress notifications enabled, network thread might fully load alerts queue, so file errors from disk thread won't have a chance to be delivered.
This commit is contained in:
parent
96700c15ff
commit
5f74b6e353
|
@ -1158,7 +1158,7 @@ namespace libtorrent
|
|||
, char const* op
|
||||
, torrent_handle const& h);
|
||||
|
||||
TORRENT_DEFINE_ALERT(file_error_alert, 43)
|
||||
TORRENT_DEFINE_ALERT_PRIO(file_error_alert, 43, alert_priority_high)
|
||||
|
||||
static const int static_category = alert::status_notification
|
||||
| alert::error_notification
|
||||
|
|
Loading…
Reference in New Issue