We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df84170 commit fdbfe19Copy full SHA for fdbfe19
src/util/fifo-cache.ts
@@ -5,8 +5,6 @@
5
* https://opensource.org/licenses/MIT
6
*/
7
8
-import { log } from "@src/common/logger"
9
-
10
const DEFAULT_THRESHOLD = 10
11
12
/**
@@ -46,7 +44,6 @@ class FIFOCache<T> {
46
44
async getOrSupply(key: string, supplier: () => PromiseLike<T>): Promise<T> {
47
45
const exist = this.map[key]
48
if (exist) {
49
- log("Hit cache with key: " + key)
50
return exist
51
}
52
const value = await supplier()
0 commit comments