Skip to content

Commit db509e9

Browse files
committed
update tokenlist cache
1 parent 32f1bba commit db509e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/common/utils/tokenList.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ const loadTokenlistsFromFiles = () => {
6969
}),
7070
)
7171

72-
// setTimeout(buildCache, Number(process.env.TOKENLIST_CACHE_TIMEOUT_SECONDS || 10) * 1000)
72+
setTimeout(
73+
buildCache,
74+
Number(process.env.TOKENLIST_CACHE_TIMEOUT_SECONDS || 5 * 60) * 1000,
75+
)
7376
})()
7477

7578
export default function getTokenList(chainId: number): TokenListItem[] {

0 commit comments

Comments
 (0)