From cca421e283ba55362b5a49c3f8fd6ea9755eb13b Mon Sep 17 00:00:00 2001 From: TwiN Date: Thu, 18 Aug 2022 19:23:27 -0400 Subject: [PATCH] refactor(storage): Remove TODO comment about writeThroughCache --- storage/store/sql/sql.go | 1 - 1 file changed, 1 deletion(-) diff --git a/storage/store/sql/sql.go b/storage/store/sql/sql.go index 152e42c5..8478f674 100644 --- a/storage/store/sql/sql.go +++ b/storage/store/sql/sql.go @@ -333,7 +333,6 @@ func (s *Store) Insert(endpoint *core.Endpoint, result *core.Result) error { } } } - // TODO: add field to automatically refresh the cache when a new result is inserted if s.writeThroughCache != nil { cacheKeysToRefresh := s.writeThroughCache.GetKeysByPattern(endpoint.Key()+"*", 0) for _, cacheKey := range cacheKeysToRefresh {