We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dcf6fa commit 233c9a0Copy full SHA for 233c9a0
onchain/portfolio/solana_portfolio.py
@@ -23,7 +23,7 @@ def __init__(self, token_metadata_repo: TokenMetadataRepo):
23
async def close(self):
24
await self.http_client.close()
25
26
- @alru_cache(maxsize=100_000, ttl=300)
+ @alru_cache(maxsize=1_000_000, ttl=60*60)
27
async def get_portfolio(self, wallet_address: str) -> Portfolio:
28
"""Get the complete portfolio of token holdings for a wallet address."""
29
token_accounts = await self._get_token_accounts(wallet_address)
0 commit comments