From 0d62be44846354c3c37b857028297edd4b8df17b Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 22 May 2025 09:54:31 -0700 Subject: WIP --- weed/util/throttler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weed/util/throttler.go') diff --git a/weed/util/throttler.go b/weed/util/throttler.go index 873161e37..506b80a51 100644 --- a/weed/util/throttler.go +++ b/weed/util/throttler.go @@ -25,7 +25,7 @@ func (wt *WriteThrottler) MaybeSlowdown(delta int64) { if overLimitBytes > 0 { overRatio := float64(overLimitBytes) / float64(wt.compactionBytePerSecond) sleepTime := time.Duration(overRatio*1000) * time.Millisecond - // glog.V(0).Infof("currently %d bytes, limit to %d bytes, over by %d bytes, sleeping %v over %.4f", wt.lastSizeCounter, wt.compactionBytePerSecond/10, overLimitBytes, sleepTime, overRatio) + // log.V(3).Infof("currently %d bytes, limit to %d bytes, over by %d bytes, sleeping %v over %.4f", wt.lastSizeCounter, wt.compactionBytePerSecond/10, overLimitBytes, sleepTime, overRatio) time.Sleep(sleepTime) } wt.lastSizeCounter, wt.lastSizeCheckTime = 0, time.Now() -- cgit v1.2.3