noot
This commit is contained in:
parent
d51931a0e3
commit
d261efaf69
2
ts/cli
2
ts/cli
@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env tsx
|
||||
#!/usr/bin/env -S tsx --trace-warnings
|
||||
import "./src/main.ts";
|
||||
|
@ -18,15 +18,9 @@ c.bind({
|
||||
}))
|
||||
}
|
||||
const bento = new BentoCache({
|
||||
default: 'memory',
|
||||
default: 'cache',
|
||||
stores: {
|
||||
memory: bentostore()
|
||||
.useL1Layer(memoryDriver({ maxSize: '32mb' })),
|
||||
multitier: bentostore()
|
||||
.useL1Layer(memoryDriver({ maxSize: '10mb' }))
|
||||
.useL2Layer(redisDriver({
|
||||
connection: { host: '127.0.0.1', port: 6379 }
|
||||
}))
|
||||
cache: defaultStore,
|
||||
}
|
||||
})
|
||||
return bento
|
||||
|
Loading…
Reference in New Issue
Block a user