From 19fad1f438f42123f6e396e9453042790af73473 Mon Sep 17 00:00:00 2001 From: tjs Date: Thu, 15 Dec 2022 15:43:20 -0500 Subject: [PATCH] increase swap chart cache time --- components/swap/SwapTokenChart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/swap/SwapTokenChart.tsx b/components/swap/SwapTokenChart.tsx index aaca6709..407ac536 100644 --- a/components/swap/SwapTokenChart.tsx +++ b/components/swap/SwapTokenChart.tsx @@ -87,7 +87,7 @@ const SwapTokenChart = () => { ['chart-data', baseTokenId, quoteTokenId, daysToShow], () => fetchChartData(baseTokenId, quoteTokenId, daysToShow), { - cacheTime: 1000 * 60 * 1, + cacheTime: 1000 * 60 * 15, staleTime: 1000 * 60 * 1, enabled: !!baseTokenId && !!quoteTokenId, }