forked from premiere/premiere-libtorrent
lower default connection speed in debug mode
This commit is contained in:
parent
682a5f85f9
commit
0e3eddf8e8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue