diff --git a/main.go b/main.go index 93bb7dc..fa58af6 100644 --- a/main.go +++ b/main.go @@ -141,7 +141,8 @@ func readRegs(client modbus.Client, start, qty uint16) { func scrape(client modbus.Client) { start := time.Now() scrapeStart.SetToCurrentTime() - readRegs(client, 5000, 100) + readRegs(client, 5000, 50) + readRegs(client, 5050, 50) readRegs(client, 5100, 50) scrapeEnd.SetToCurrentTime() lastScrape = time.Now()