Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix(global): Revert unexpected change
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich committed May 20, 2022
1 parent 470e39f commit 6defafe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/network-provider/network-provider.registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const DEFAULT_REGISTRY: Record<
[Network.AVALANCHE_MAINNET]: 'https://avalanche.public-rpc.com',
[Network.BINANCE_SMART_CHAIN_MAINNET]: 'https://bsc-dataseed.binance.org/',
[Network.CELO_MAINNET]: 'https://forno.celo.org',
[Network.ETHEREUM_MAINNET]: 'https://mainnet.infura.io/v3/bf9c8c1758124c208066454d352c84c4',
[Network.ETHEREUM_MAINNET]: 'https://eth-rpc.gateway.pokt.network',
[Network.FANTOM_OPERA_MAINNET]: 'https://rpc.ftm.tools/',
[Network.GNOSIS_MAINNET]: 'https://rpc.gnosischain.com/',
[Network.HARMONY_MAINNET]: 'https://harmony.public-rpc.com',
Expand Down
2 changes: 1 addition & 1 deletion src/position/position-fetcher.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const PositionFetcher =
CacheOnIntervalBuilder<IPositionFetcher<Position>>({
targetMethod: 'getPositions',
key: buildAppPositionsCacheKey({ type, network, appId, groupId }),
timeout: process.env.NODE_ENV === 'production' ? 45 * 1000 : 1000 * 1000,
timeout: process.env.NODE_ENV === 'production' ? 45 * 1000 : 10 * 1000,
failOnMissingData: process.env.NODE_ENV === 'production',
}),
Injectable,
Expand Down

0 comments on commit 6defafe

Please sign in to comment.