forked from premiere/premiere-libtorrent
merged DHT config fromRC_0_16
This commit is contained in:
parent
c87d26635b
commit
903efa1a9f
|
@ -262,7 +262,7 @@ namespace libtorrent { namespace dht
|
||||||
m_timer.expires_from_now(seconds(1), ec);
|
m_timer.expires_from_now(seconds(1), ec);
|
||||||
m_timer.async_wait(boost::bind(&dht_tracker::tick, self(), _1));
|
m_timer.async_wait(boost::bind(&dht_tracker::tick, self(), _1));
|
||||||
|
|
||||||
m_connection_timer.expires_from_now(seconds(10), ec);
|
m_connection_timer.expires_from_now(seconds(1), ec);
|
||||||
m_connection_timer.async_wait(
|
m_connection_timer.async_wait(
|
||||||
boost::bind(&dht_tracker::connection_timeout, self(), _1));
|
boost::bind(&dht_tracker::connection_timeout, self(), _1));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue