Skip to content

Commit

Permalink
increase the default setting for max_allowed_in_request_queue from 50…
Browse files Browse the repository at this point in the history
…0 to 2000. The entries in this queue are relatively small, and allowing too few may negatively impact high-throughput peers
  • Loading branch information
arvidn committed Feb 1, 2021
1 parent 5041999 commit 834f477
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* increase default max_allowed_in_request_queue
* fix loading non-ascii filenames on windows with torrent_info constructor (2.0 regression)
* add std::hash<> specialization for info_hash_t
* fix integer overflow in hash_picker and properly restrict max file sizes in torrents
Expand Down
2 changes: 1 addition & 1 deletion src/settings_pack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ namespace libtorrent {
SET(piece_timeout, 20, nullptr),
SET(request_timeout, 60, nullptr),
SET(request_queue_time, 3, nullptr),
SET(max_allowed_in_request_queue, 500, nullptr),
SET(max_allowed_in_request_queue, 2000, nullptr),
SET(max_out_request_queue, 500, nullptr),
SET(whole_pieces_threshold, 20, nullptr),
SET(peer_timeout, 120, nullptr),
Expand Down

0 comments on commit 834f477

Please sign in to comment.