From 2470f5f94176b51b0fe8c0ee9d2e655f8b5bff9a Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Wed, 5 Feb 2020 15:22:28 +0300 Subject: [PATCH] LRU fix --- app/lib/lru.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/lru.ts b/app/lib/lru.ts index 683d1e11..d5b35b8e 100644 --- a/app/lib/lru.ts +++ b/app/lib/lru.ts @@ -1,4 +1,4 @@ -import createLRU from 'lru-cache' +import * as createLRU from 'lru-cache' import * as fs from 'fs' const lru = createLRU({ max: 256, maxAge: 250 }) const origLstat = fs.realpathSync.bind(fs)