fix: change log level from info to debug for network message queuing and processing
This commit is contained in:
@@ -648,7 +648,7 @@ local function main()
|
|||||||
local event, side, channel, replyChannel, message, distance = os.pullEvent("modem_message")
|
local event, side, channel, replyChannel, message, distance = os.pullEvent("modem_message")
|
||||||
if channel == cfg.ORDER_CHANNEL and type(message) == "table" then
|
if channel == cfg.ORDER_CHANNEL and type(message) == "table" then
|
||||||
table.insert(networkQueue, { replyChannel = replyChannel, message = message })
|
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
|
end
|
||||||
end),
|
end),
|
||||||
@@ -668,7 +668,7 @@ local function main()
|
|||||||
local entry = table.remove(networkQueue, 1)
|
local entry = table.remove(networkQueue, 1)
|
||||||
local message = entry.message
|
local message = entry.message
|
||||||
local replyChannel = entry.replyChannel
|
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)
|
tostring(message.type), tostring(message.commandId), #networkQueue)
|
||||||
|
|
||||||
if isCommandDuplicate(message.commandId) then
|
if isCommandDuplicate(message.commandId) then
|
||||||
|
|||||||
Reference in New Issue
Block a user