diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-11 04:14:32 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-11 04:54:52 -0400 |
commit | 367e44f691dbd5647a7d6ae7bdbd7857b35d92a8 (patch) | |
tree | d6237e3bd3cd483801f04f19f41a41840845764e /svc/cache.go | |
parent | 7cc45ff9314bb3343760811318b8bc238e6d945a (diff) | |
download | getwtxt-367e44f691dbd5647a7d6ae7bdbd7857b35d92a8.tar.gz |
eliminated confObj.LastCache and confObj.LastPush. Unneeded when using ticker for intervals.
Diffstat (limited to 'svc/cache.go')
-rw-r--r-- | svc/cache.go | 3 |
1 files changed, 0 insertions, 3 deletions
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 |