noot
All checks were successful
commit-tag / commit-tag-image (map[context:./migrations file:./migrations/Dockerfile name:migrations]) (push) Successful in 16s
commit-tag / commit-tag-image (map[context:./ts file:./ts/Dockerfile name:ts]) (push) Successful in 50s

This commit is contained in:
a 2025-03-02 19:19:03 -06:00
parent d51931a0e3
commit d261efaf69
No known key found for this signature in database
GPG Key ID: 2F22877AA4DFDADB
2 changed files with 3 additions and 9 deletions

2
ts/cli
View File

@ -1,2 +1,2 @@
#!/usr/bin/env tsx
#!/usr/bin/env -S tsx --trace-warnings
import "./src/main.ts";

View File

@ -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