forked from Mirrorlandia_minetest/minetest
Tune block fetching to clients on server
This commit is contained in:
parent
8cb7badd63
commit
6f20a73782
@ -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"<<std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user