fix: change log level from info to debug for network message queuing and processing

This commit is contained in:
MayaTheShy
2026-03-29 01:12:09 -04:00
parent aa5f711fe4
commit 3c40cf9ef4

View File

@@ -648,7 +648,7 @@ local function main()
local event, side, channel, replyChannel, message, distance = os.pullEvent("modem_message")
if channel == cfg.ORDER_CHANNEL and type(message) == "table" then
table.insert(networkQueue, { replyChannel = replyChannel, message = message })
log.info("NET-CAP", "Queued: type=%s queue=%d", tostring(message.type), #networkQueue)
log.debug("NET-CAP", "Queued: type=%s queue=%d", tostring(message.type), #networkQueue)
end
end
end),
@@ -668,7 +668,7 @@ local function main()
local entry = table.remove(networkQueue, 1)
local message = entry.message
local replyChannel = entry.replyChannel
log.info("NET-PROC", "Processing: type=%s id=%s queue=%d",
log.debug("NET-PROC", "Processing: type=%s id=%s queue=%d",
tostring(message.type), tostring(message.commandId), #networkQueue)
if isCommandDuplicate(message.commandId) then