Skip to content

Commit fdbfe19

Browse files
committed
Remove logger
1 parent df84170 commit fdbfe19

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/util/fifo-cache.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* https://opensource.org/licenses/MIT
66
*/
77

8-
import { log } from "@src/common/logger"
9-
108
const DEFAULT_THRESHOLD = 10
119

1210
/**
@@ -46,7 +44,6 @@ class FIFOCache<T> {
4644
async getOrSupply(key: string, supplier: () => PromiseLike<T>): Promise<T> {
4745
const exist = this.map[key]
4846
if (exist) {
49-
log("Hit cache with key: " + key)
5047
return exist
5148
}
5249
const value = await supplier()

0 commit comments

Comments
 (0)