mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-04-30 18:59:37 +00:00
Added Prisma Acelerate for Caching
This commit is contained in:
parent
48646e22a7
commit
487605df3e
7 changed files with 21 additions and 3 deletions
|
@ -25,6 +25,7 @@ export const BoardList = async () => {
|
|||
orderBy: {
|
||||
createdAt: 'desc',
|
||||
},
|
||||
cacheStrategy: { ttl: 30, swr: 60 },
|
||||
});
|
||||
|
||||
const availableCount = await getAvailableCount();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue