Set range of blocks to retrieve per roundtrip to 2.
authorLars Hofhansl <larsh@apache.org>
Thu, 19 Oct 2017 16:46:30 +0000 (09:46 -0700)
committerLars Hofhansl <larsh@apache.org>
Thu, 19 Oct 2017 16:47:58 +0000 (09:47 -0700)
This is a small, partial revert of #6483, which had set this to 1.

src/clientiface.cpp

index 529fbc63f0aa3e00f5a0da1fb64ee0270e90c0ab..404ce0d4ed020339c7f1eba0ad676bebc4b97040 100644 (file)
@@ -205,7 +205,7 @@ void RemoteClient::GetNextBlocks (
        s16 d_max_gen = std::min(m_max_gen_distance, wanted_range);
 
        // Don't loop very much at a time
-       s16 max_d_increment_at_time = 1;
+       s16 max_d_increment_at_time = 2;
        if (d_max > d_start + max_d_increment_at_time)
                d_max = d_start + max_d_increment_at_time;