From bac0228d21b7195065e9cddcc327ae33659c7bcc Mon Sep 17 00:00:00 2001 From: dujinkim Date: Sun, 1 Jun 2025 13:52:21 +0000 Subject: (대표님) 20250601까지 작업사항 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tag-numbering/service.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/tag-numbering/service.ts') 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") 호출 시 무효화 + // } + // )(); } -- cgit v1.2.3