mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-09 05:50:08 +00:00
LRU fix
This commit is contained in:
parent
fd1ea4fc49
commit
2470f5f941
@ -1,4 +1,4 @@
|
|||||||
import createLRU from 'lru-cache'
|
import * as createLRU from 'lru-cache'
|
||||||
import * as fs from 'fs'
|
import * as fs from 'fs'
|
||||||
const lru = createLRU({ max: 256, maxAge: 250 })
|
const lru = createLRU({ max: 256, maxAge: 250 })
|
||||||
const origLstat = fs.realpathSync.bind(fs)
|
const origLstat = fs.realpathSync.bind(fs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user