Skip to content

Commit 7e46845

Browse files
committed
WIP: improve IH performance
1 parent d62a045 commit 7e46845

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/insights/src/components/Publisher/get-price-feeds.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { ClusterToName, getFeedsForPublisher } from "../../services/pyth";
44
import { getStatus } from "../../status";
55

66
export const getPriceFeeds = async (cluster: Cluster, key: string) => {
7+
"use cache"
8+
79
const [feeds, rankings] = await Promise.all([
810
getFeedsForPublisher(cluster, key),
911
getRankingsByPublisher(key),

0 commit comments

Comments
 (0)