From 112ab0e08f5bcbaa130ad27649b591e0704e77f3 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Mon, 11 Dec 2023 21:37:16 -0700 Subject: [PATCH] clarify log item --- src/cache/crawler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache/crawler.go b/src/cache/crawler.go index 1b4ca66..76e6222 100644 --- a/src/cache/crawler.go +++ b/src/cache/crawler.go @@ -60,7 +60,7 @@ func startCrawl(sharedCache *lru.Cache[string, *CacheItem.Item], wg *sync.WaitGr func logCacheStatus(msg string, ticker *time.Ticker, sharedCache *lru.Cache[string, *CacheItem.Item], logFn func(format string, args ...interface{})) { defer ticker.Stop() for range ticker.C { - logFn("%s - %d/%d items in the cache. Busy Workers: %d. Jobs remaining: %d. Running crawls: %d", + logFn("%s - %d/%d items in the cache. Busy Workers: %d. Jobs queued: %d. Running crawls: %d.", msg, len(sharedCache.Keys()), config.GetConfig().CacheSize, Workers.BusyWorkers, Workers.Queue.GetQueueSize(), DirectoryCrawler.GetTotalActiveCrawls()) } }