From 3468e97b24748991beb4aa1b2d21051f9c6c34a9 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 31 Oct 2007 20:30:09 +0000 Subject: [PATCH] ut_pex sends peers sooner --- src/ut_pex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ut_pex.cpp b/src/ut_pex.cpp index 8abd32ec8..d1248637c 100644 --- a/src/ut_pex.cpp +++ b/src/ut_pex.cpp @@ -72,7 +72,7 @@ namespace libtorrent { namespace struct ut_pex_plugin: torrent_plugin { - ut_pex_plugin(torrent& t): m_torrent(t), m_1_minute(0) {} + ut_pex_plugin(torrent& t): m_torrent(t), m_1_minute(55) {} virtual boost::shared_ptr new_connection(peer_connection* pc); @@ -185,7 +185,7 @@ namespace libtorrent { namespace : m_torrent(t) , m_pc(pc) , m_tp(tp) - , m_1_minute(0) + , m_1_minute(55) , m_message_index(0) , m_first_time(true) {}