summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-04-22 18:29:47 -0500
committercheapie <no-email-for-you@example.com>2024-04-22 18:29:47 -0500
commit877ec7e69408c742fd5a4b505246438870622aaa (patch)
treefd8565773b46ac83b4f8d4280c2724126ff50066
parent9a45990bee6fb2f3dfe346cecfcf0cc1703cf07c (diff)
downloadcelevator-877ec7e69408c742fd5a4b505246438870622aaa.tar
celevator-877ec7e69408c742fd5a4b505246438870622aaa.tar.gz
celevator-877ec7e69408c742fd5a4b505246438870622aaa.tar.bz2
celevator-877ec7e69408c742fd5a4b505246438870622aaa.tar.xz
celevator-877ec7e69408c742fd5a4b505246438870622aaa.zip
Temporary fix for excessive warnings in large groups
-rw-r--r--dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
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