lower default connection speed in debug mode
This commit is contained in:
@@ -102,7 +102,11 @@ namespace libtorrent
|
|||||||
, min_reconnect_time(60)
|
, min_reconnect_time(60)
|
||||||
, peer_connect_timeout(7)
|
, peer_connect_timeout(7)
|
||||||
, ignore_limits_on_local_network(true)
|
, ignore_limits_on_local_network(true)
|
||||||
|
#if !defined NDEBUG && !defined TORRENT_DISABLE_INVARIANT_CHECKS
|
||||||
|
, connection_speed(2)
|
||||||
|
#else
|
||||||
, connection_speed(20)
|
, connection_speed(20)
|
||||||
|
#endif
|
||||||
, send_redundant_have(false)
|
, send_redundant_have(false)
|
||||||
, lazy_bitfields(true)
|
, lazy_bitfields(true)
|
||||||
, inactivity_timeout(600)
|
, inactivity_timeout(600)
|
||||||
|
Reference in New Issue
Block a user