summaryrefslogtreecommitdiff
path: root/lib/tag-numbering
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tag-numbering')
-rw-r--r--lib/tag-numbering/service.ts18
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") 호출 시 무효화
+ // }
+ // )();
}