diff options
Diffstat (limited to 'controller.lua')
| -rw-r--r-- | controller.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.lua b/controller.lua index 2c6c9b6..a77a2e7 100644 --- a/controller.lua +++ b/controller.lua @@ -595,7 +595,7 @@ function celevator.controller.run(pos,event) celevator.storage:set_string("controller_equeue",core.serialize(celevator.controller.equeue)) if #celevator.controller.equeue[hash] > 5 then local pstring = core.pos_to_string(pos) - local queuelen = #celevator.controller.queue[hash] + local queuelen = #celevator.controller.equeue[hash] local message = string.format("[celevator] [controller] Async process for controller at %s is falling behind, %d events in queue",pstring,queuelen) core.log("warning",message) end |
