From 11b6f140e12aa1ad0a7b434188d14ebdcf90748c Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Tue, 21 May 2024 23:37:35 +0200 Subject: [PATCH] chore: add some debug messages --- inferium-harvester.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inferium-harvester.lua b/inferium-harvester.lua index 535599f..f47b244 100644 --- a/inferium-harvester.lua +++ b/inferium-harvester.lua @@ -272,10 +272,11 @@ end local function fetchRemotePlan() print('> fetch remote plan') - local message = { type = 'getplan', payload = { computerId = os.getComputerID() } } + local message = { type = 'getplan' } while true do local replyMessage, _ = net.sendQuery(INFERIUM_SERVER, message, NETWORK_TIMEOUT) + print('> fetched') if replyMessage and replyMessage.payload then previouslyFetchedRemotePlan = replyMessage.payload