Skip to content

Commit

Permalink
Refactor pricing page to update price revalidation time
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSette committed Oct 30, 2024
1 parent a6f6311 commit 9bfc959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/(dashboard)/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { Products } from "@/lib/utils";
import { getProductsForUser, getUser } from "@/lib/db/queries";
import { UserProduct } from "@/lib/db/schema";

// Prices are fresh for one 10 days max
export const revalidate = 3600 * 24 * 10;
// Prices are fresh for one hour max
export const revalidate = 3600;

export default async function PricingPage() {
const user = await getUser();
Expand Down

0 comments on commit 9bfc959

Please sign in to comment.