Skip to content

Commit 233c9a0

Browse files
balogh.adam@icloud.combalogh.adam@icloud.com
authored andcommitted
cache size
1 parent 6dcf6fa commit 233c9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onchain/portfolio/solana_portfolio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, token_metadata_repo: TokenMetadataRepo):
2323
async def close(self):
2424
await self.http_client.close()
2525

26-
@alru_cache(maxsize=100_000, ttl=300)
26+
@alru_cache(maxsize=1_000_000, ttl=60*60)
2727
async def get_portfolio(self, wallet_address: str) -> Portfolio:
2828
"""Get the complete portfolio of token holdings for a wallet address."""
2929
token_accounts = await self._get_token_accounts(wallet_address)

0 commit comments

Comments
 (0)