reduce block lru cache sizes
This commit is contained in:
parent
c7a5a0cab0
commit
8fddb57e0a
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue