File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export const SUPPORTED_CHAINS: ChainId[] = [
103103 ChainId . POLYGON ,
104104 ChainId . UNICHAIN
105105]
106- const DEFAULT_TOKEN_LIST = 'https://gateway.ipfs.io/ipns/ tokens.uniswap.org'
106+ const DEFAULT_TOKEN_LIST = 'https://tokens.uniswap.org'
107107
108108export interface RequestInjected < Router > extends BaseRInj {
109109 chainId : ChainId
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { TokenList } from '@uniswap/token-lists'
1010import S3 from 'aws-sdk/clients/s3'
1111import NodeCache from 'node-cache'
1212
13- const TOKEN_LIST_CACHE = new NodeCache ( { stdTTL : 600 , useClones : false } )
13+ const TOKEN_LIST_CACHE = new NodeCache ( { stdTTL : 6000 , useClones : false } )
1414
1515export class AWSTokenListProvider extends CachingTokenListProvider {
1616 public static async fromTokenListS3Bucket (
@@ -22,7 +22,7 @@ export class AWSTokenListProvider extends CachingTokenListProvider {
2222
2323 const cachedTokenList = TOKEN_LIST_CACHE . get < TokenList > ( tokenListURI )
2424
25- const tokenCache = new NodeCache ( { stdTTL : 360 , useClones : false } )
25+ const tokenCache = new NodeCache ( { stdTTL : 3600 , useClones : false } )
2626
2727 if ( cachedTokenList ) {
2828 log . info ( `Found token lists for ${ tokenListURI } in local cache` )
You can’t perform that action at this time.
0 commit comments