for high performance preset, support accepting many connections simultaneously

This commit is contained in:
Arvid Norberg 2011-04-27 08:06:44 +00:00
parent 1723e2d4f7
commit dab3d5706f
1 changed files with 3 additions and 0 deletions

View File

@ -206,6 +206,9 @@ namespace libtorrent
// allow 8000 peer connections
set.connections_limit = 8000;
// allow lots of peers to try to connect simultaneously
set.listen_queue_size = 200;
// unchoke many peers
set.unchoke_slots_limit = 500;