Remove prisma accelerate

This commit is contained in:
2023-12-14 17:54:13 +01:00
parent 64eb1dc69d
commit fc6ad4d1ee
9 changed files with 4 additions and 27 deletions

View File

@@ -1,9 +1,5 @@
export default defineEventHandler(async () => {
return await usePrisma().guestbookMessage.findMany({
cacheStrategy: {
ttl: 60 * 60,
swr: 60 * 5,
},
orderBy: {
updatedAt: 'desc',
},