Skip to content

Commit 52ec3eb

Browse files
authored
Merge pull request #15197 from ethereum/cache-hit-gfissues
build: skip "Cache hit gfissues" log output
2 parents 8fc25df + ec1790e commit 52ec3eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/utils/data/cacheAsyncFn.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ export function cacheAsyncFn<T>(
3434
options?.cacheTimeout && cacheAge > options.cacheTimeout
3535

3636
if (!isCacheExpired) {
37-
console.log("Cache hit", key)
37+
const quietKeys: string[] = ["gfissues"]
38+
!quietKeys.includes(key) && console.log("Cache hit", key)
3839
return cachedItem.value as T
3940
}
4041
console.log("Cache expired", key)

0 commit comments

Comments
 (0)