From 0c6f3f029470829a7d7286b0de825bab14311a85 Mon Sep 17 00:00:00 2001 From: Chris Hager Date: Sun, 2 Jun 2024 15:52:04 +0200 Subject: [PATCH] cleanup --- services/bidcollect/data-api-poller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/bidcollect/data-api-poller.go b/services/bidcollect/data-api-poller.go index e07f0e1..fea2aa1 100644 --- a/services/bidcollect/data-api-poller.go +++ b/services/bidcollect/data-api-poller.go @@ -47,7 +47,7 @@ func (poller *DataAPIPoller) Start() { tNextSlot := common.SlotToTime(nextSlot) untilNextSlot := tNextSlot.Sub(t) - poller.Log.Infof("[data-api poller] waiting until start of next slot (%d, %s from now)", nextSlot, untilNextSlot.String()) + poller.Log.Infof("[data-api poller] waiting until start of next slot (%d - %s from now)", nextSlot, untilNextSlot.String()) time.Sleep(untilNextSlot) // then run polling loop @@ -59,7 +59,7 @@ func (poller *DataAPIPoller) Start() { tNextSlot := common.SlotToTime(nextSlot) untilNextSlot := tNextSlot.Sub(t) - poller.Log.Infof("[data-api poller] current slot: %d / next slot: %d (%s), waitTime: %s", slot, nextSlot, tNextSlot.String(), untilNextSlot.String()) + poller.Log.Infof("[data-api poller] scheduling polling for upcoming slot: %d (%s - in %s)", nextSlot, tNextSlot.String(), untilNextSlot.String()) // Schedule polling at t-4, t-2, t=0, t=2 go poller.pollRelaysForBids(nextSlot, -4*time.Second)