diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-01 13:52:21 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-01 13:52:21 +0000 |
| commit | bac0228d21b7195065e9cddcc327ae33659c7bcc (patch) | |
| tree | 8f3016ae4533c8706d0c00a605d9b1d41968c2bc /lib/tag-numbering | |
| parent | 2fdce8d7a57c792bba0ac36fa554dca9c9cc31e3 (diff) | |
(대표님) 20250601까지 작업사항
Diffstat (limited to 'lib/tag-numbering')
| -rw-r--r-- | lib/tag-numbering/service.ts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/tag-numbering/service.ts b/lib/tag-numbering/service.ts index 3256b185..cc8bc5ea 100644 --- a/lib/tag-numbering/service.ts +++ b/lib/tag-numbering/service.ts @@ -11,8 +11,8 @@ import { countTagNumbering, selectTagNumbering } from "./repository"; export async function getTagNumbering(input: GetTagNumberigSchema) { - return unstable_cache( - async () => { + // return unstable_cache( + // async () => { try { const offset = (input.page - 1) * input.perPage; @@ -75,13 +75,13 @@ export async function getTagNumbering(input: GetTagNumberigSchema) { // 에러 발생 시 디폴트 return { data: [], pageCount: 0 }; } - }, - [JSON.stringify(input)], // 캐싱 키 - { - revalidate: 3600, - tags: ["tag-numbering"], // revalidateTag("items") 호출 시 무효화 - } - )(); + // }, + // [JSON.stringify(input)], // 캐싱 키 + // { + // revalidate: 3600, + // tags: ["tag-numbering"], // revalidateTag("items") 호출 시 무효화 + // } + // )(); } |
