11import { parse } from "superjson" ;
22import { z } from "zod" ;
33
4- import { DEFAULT_NEXT_FETCH_TTL } from "../cache" ;
4+ import { DEFAULT_CACHE_TTL } from "../cache" ;
55import { VERCEL_REQUEST_HEADERS } from "../config/server" ;
66import { getHost } from "../get-host" ;
77import { priceFeedsSchema } from "../schemas/pyth/price-feeds-schema" ;
@@ -19,7 +19,7 @@ export async function getPublishersForFeedRequest(
1919
2020 const data = await fetch ( url , {
2121 next : {
22- revalidate : DEFAULT_NEXT_FETCH_TTL ,
22+ revalidate : DEFAULT_CACHE_TTL ,
2323 } ,
2424 headers : VERCEL_REQUEST_HEADERS ,
2525 } ) ;
@@ -39,7 +39,7 @@ export async function getFeedsForPublisherRequest(
3939
4040 const data = await fetch ( url , {
4141 next : {
42- revalidate : DEFAULT_NEXT_FETCH_TTL ,
42+ revalidate : DEFAULT_CACHE_TTL ,
4343 } ,
4444 headers : VERCEL_REQUEST_HEADERS ,
4545 } ) ;
@@ -83,7 +83,7 @@ export const getFeedForSymbolRequest = async ({
8383
8484 const data = await fetch ( url , {
8585 next : {
86- revalidate : DEFAULT_NEXT_FETCH_TTL ,
86+ revalidate : DEFAULT_CACHE_TTL ,
8787 } ,
8888 headers : VERCEL_REQUEST_HEADERS ,
8989 } ) ;
0 commit comments