From 6f20a7378257d09a15cce675ed7ec8363e5f3b42 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 27 Jan 2012 14:12:12 +0200 Subject: [PATCH] Tune block fetching to clients on server --- src/server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 02734bbc..a0549d42 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -684,10 +684,10 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime, //if(server->m_emerge_queue.peerItemCount(peer_id) < 1) // Allow two blocks in queue per client //if(server->m_emerge_queue.peerItemCount(peer_id) < 2) - u32 max_emerge = 25; + u32 max_emerge = 5; // Make it more responsive when needing to generate stuff if(surely_not_found_on_disk) - max_emerge = 5; + max_emerge = 2; if(server->m_emerge_queue.peerItemCount(peer_id) < max_emerge) { //infostream<<"Adding block to emerge queue"<