From 877ec7e69408c742fd5a4b505246438870622aaa Mon Sep 17 00:00:00 2001 From: cheapie Date: Mon, 22 Apr 2024 18:29:47 -0500 Subject: Temporary fix for excessive warnings in large groups --- dispatcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatcher.lua b/dispatcher.lua index 30e4ab5..ae70c35 100644 --- a/dispatcher.lua +++ b/dispatcher.lua @@ -368,7 +368,7 @@ function celevator.dispatcher.run(pos,event) if celevator.dispatcher.running[hash] then table.insert(celevator.dispatcher.equeue[hash],event) celevator.storage:set_string("dispatcher_equeue",minetest.serialize(celevator.dispatcher.equeue)) - if #celevator.dispatcher.equeue[hash] > 5 then + if #celevator.dispatcher.equeue[hash] > 20 then local message = "[celevator] [dispatcher] Async process for dispatcher at %s is falling behind, %d events in queue" minetest.log("warning",string.format(message,minetest.pos_to_string(pos),#celevator.dispatcher.equeue[hash])) end -- cgit v1.2.3