From 367e44f691dbd5647a7d6ae7bdbd7857b35d92a8 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 11 Jun 2019 04:14:32 -0400 Subject: eliminated confObj.LastCache and confObj.LastPush. Unneeded when using ticker for intervals. --- svc/cache.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'svc/cache.go') diff --git a/svc/cache.go b/svc/cache.go index 3383016..d3ac872 100644 --- a/svc/cache.go +++ b/svc/cache.go @@ -66,9 +66,6 @@ func cacheUpdate() { errLog("Error refreshing local copy of remote registry data: ", twtxtCache.CrawlRemoteRegistry(v)) } remoteRegistries.Mu.RUnlock() - confObj.Mu.Lock() - confObj.LastCache = time.Now() - confObj.Mu.Unlock() } // pingAssets checks if the local static assets -- cgit 1.4.1-2-gfad0