disabled uTP/TCP mixed-mode for high_performance preset

This commit is contained in:
Arvid Norberg 2011-01-28 18:23:54 +00:00
parent 2218b13ba0
commit e9f9d08fbe
1 changed files with 4 additions and 0 deletions

View File

@ -171,6 +171,10 @@ namespace libtorrent
{
session_settings set;
// don't throttle TCP, assume there is
// plenty of bandwidth
set.mixed_mode_algorithm = session_settings::prefer_tcp;
set.alert_queue_size = 10000;
// allow 500 files open at a time