lower default connection speed in debug mode

This commit is contained in:
Arvid Norberg 2008-02-22 07:41:05 +00:00
parent 682a5f85f9
commit 0e3eddf8e8
1 changed files with 4 additions and 0 deletions

View File

@ -102,7 +102,11 @@ namespace libtorrent
, min_reconnect_time(60)
, peer_connect_timeout(7)
, ignore_limits_on_local_network(true)
#if !defined NDEBUG && !defined TORRENT_DISABLE_INVARIANT_CHECKS
, connection_speed(2)
#else
, connection_speed(20)
#endif
, send_redundant_have(false)
, lazy_bitfields(true)
, inactivity_timeout(600)