Skip to content

Commit df8d497

Browse files
committed
update
1 parent 257efd8 commit df8d497

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/insights/src/server/pyth.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { parse } from "superjson";
22
import { z } from "zod";
33

4-
import { DEFAULT_NEXT_FETCH_TTL } from "../cache";
4+
import { DEFAULT_CACHE_TTL } from "../cache";
55
import { VERCEL_REQUEST_HEADERS } from "../config/server";
66
import { getHost } from "../get-host";
77
import { 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
});

lazer/contracts/solana/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)