reduce block lru cache sizes

This commit is contained in:
Jack Robison 2020-03-12 14:48:40 -04:00
parent c7a5a0cab0
commit 8fddb57e0a
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -43,8 +43,8 @@ class Daemon:
self._height = None
self.available_rpcs = {}
self.connector = aiohttp.TCPConnector()
self._block_hash_cache = lrucache(1000000)
self._block_cache = lrucache(100000)
self._block_hash_cache = lrucache(100000)
self._block_cache = lrucache(10000)
async def close(self):
if self.connector: