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";
|
import "./src/main.ts";
|
||||||
|
@ -18,15 +18,9 @@ c.bind({
|
|||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
const bento = new BentoCache({
|
const bento = new BentoCache({
|
||||||
default: 'memory',
|
default: 'cache',
|
||||||
stores: {
|
stores: {
|
||||||
memory: bentostore()
|
cache: defaultStore,
|
||||||
.useL1Layer(memoryDriver({ maxSize: '32mb' })),
|
|
||||||
multitier: bentostore()
|
|
||||||
.useL1Layer(memoryDriver({ maxSize: '10mb' }))
|
|
||||||
.useL2Layer(redisDriver({
|
|
||||||
connection: { host: '127.0.0.1', port: 6379 }
|
|
||||||
}))
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return bento
|
return bento
|
||||||
|
Loading…
Reference in New Issue
Block a user