Skip to content

Commit

Permalink
fix: 캐싱 시간 30분으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejha committed Oct 22, 2023
1 parent 90dbdd3 commit c58d45c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/jurumarble/src/lib/apis/vote/getHotDrinkList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface GetHotDrinkResponse {
export const getHotDrinkList = async () => {
const res = await httpFetch(`api/drinks/hot`, {
next: {
revalidate: 60 * 60,
revalidate: 30 * 60, // 30분
},
});
const data = await res.json();
Expand Down
2 changes: 1 addition & 1 deletion apps/jurumarble/src/lib/apis/vote/getHotDrinkVote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface GetHotDrinkVoteResponse {
export const getHotDrinkVote = async () => {
const res = await httpFetch(`api/votes/drinks/hot`, {
next: {
revalidate: 60 * 60, // 1시간
revalidate: 30 * 60, // 30분
},
});
const data = await res.json();
Expand Down

0 comments on commit c58d45c

Please sign in to comment.