From 83cc2cda2542e8122b2089192e0fbdc29f467884 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Wed, 26 Mar 2025 15:43:19 +0100 Subject: [PATCH] add logging when result received --- eth/downloader/resultstore.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eth/downloader/resultstore.go b/eth/downloader/resultstore.go index e4323c04eb..cbecbea03b 100644 --- a/eth/downloader/resultstore.go +++ b/eth/downloader/resultstore.go @@ -59,6 +59,8 @@ func (r *resultStore) SetThrottleThreshold(threshold uint64) uint64 { r.lock.Lock() defer r.lock.Unlock() + fmt.Printf("set throttle threshold: %d\n", threshold) + limit := uint64(len(r.items)) if threshold >= limit { threshold = limit