qBittorrent/src/base/bittorrent
sledgehammer999 9ce619eac8
Decrease probability of missing important alerts
During startup we can get above 1000 alerts at each pop even with only
30 torrents in the queue. This is because libtorrent will post
piece_finished_alert and file_completed_alert for each torrent. These
alerts push out of the way the ones we care about.
The alert queue will be grown to max only if needed. So we don't use
more memory. It will greatly depend on how many torrents a user has in
their session.

When getting fastresume_rejected_alert we need to act as fast as
possible in pausing it, otherwise there's a chance it will begin
downloading and writing to disk before we pause it.
2018-09-06 02:06:44 +03:00
..
private Fix coding style 2018-07-03 08:38:32 +03:00
addtorrentparams.h Add uploadLimit, downloadLimit fields to AddTorrentData & AddTorrentParams 2017-10-11 16:23:58 +08:00
cachestatus.h Use cached SessionStatus and CacheStatus 2017-05-10 13:24:37 +03:00
infohash.cpp Fix coding style 2018-07-03 08:38:32 +03:00
infohash.h Fix coding style 2018-07-03 08:38:32 +03:00
magneturi.cpp Replace single-character string with character literal 2018-07-21 23:26:15 +08:00
magneturi.h Coding style, use nullptr and other minor things 2017-10-08 10:20:54 +03:00
peerinfo.cpp Avoid binding constant reference to returned object 2018-07-23 13:40:25 +08:00
peerinfo.h Coding style, use nullptr and other minor things 2017-10-08 10:20:54 +03:00
session.cpp Decrease probability of missing important alerts 2018-09-06 02:06:44 +03:00
session.h Save fastresumes when changing torrent priorities 2018-08-25 22:02:14 +03:00
sessionstatus.h Use new Session Statistics feature 2017-05-10 13:24:51 +03:00
torrentcreatorthread.cpp Replace single-character string with character literal 2018-07-21 23:26:15 +08:00
torrentcreatorthread.h Fix coding style 2018-05-09 17:06:22 +03:00
torrenthandle.cpp Decrease probability of missing important alerts 2018-09-06 02:06:44 +03:00
torrenthandle.h Always save actual queue position 2018-08-25 22:02:14 +03:00
torrentinfo.cpp Avoid allocating large memory when loading a .torrent file 2018-08-11 00:48:35 +08:00
torrentinfo.h Rename torrent if content was initially renamed 2018-05-19 20:21:21 +03:00
tracker.cpp Replace single-character string with character literal 2018-07-21 23:26:15 +08:00
tracker.h Properly reply to announce request 2018-03-09 17:41:06 +03:00
trackerentry.cpp Fix coding style 2018-07-03 08:38:32 +03:00
trackerentry.h Make method const 2017-05-09 14:21:55 +08:00