From f6970f6c35adddcaa1d9ce1d95814d22a05198e6 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 20 Oct 2013 04:49:50 +0000 Subject: [PATCH] test_pex fix --- test/test_pex.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/test_pex.cpp b/test/test_pex.cpp index c3a4b4f3e..6059ab583 100644 --- a/test/test_pex.cpp +++ b/test/test_pex.cpp @@ -77,15 +77,13 @@ void test_pex() // immediately. To make the swarm actually connect all // three peers before finishing. session_settings set = ses1.settings(); - set.download_rate_limit = 0; - set.upload_rate_limit = 0; + set.download_rate_limit = 2000; + set.upload_rate_limit = 2000; ses1.set_settings(set); // make the peer connecting the two worthless to transfer // data, to force peer 3 to connect directly to peer 1 through pex set = ses2.settings(); - set.download_rate_limit = 2000; - set.upload_rate_limit = 2000; set.ignore_limits_on_local_network = false; set.rate_limit_utp = true; ses2.set_settings(set);