Skip to content
Permalink
Browse files

Set range of blocks to retrieve per roundtrip to 2.

This is a small, partial revert of #6483, which had set this to 1.
  • Loading branch information...
lhofhansl committed Oct 19, 2017
1 parent f36e323 commit cdedaac5e299f71df72c2eb49ec52506467af831
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clientiface.cpp
@@ -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;

0 comments on commit cdedaac

Please sign in to comment.
You can’t perform that action at this time.