mirror of
https://github.com/LBRYFoundation/hub.git
synced 2025-08-23 17:37:23 +00:00
reduce history_tx_info_cache size
This commit is contained in:
parent
f91d2be91e
commit
460a06ec04
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class BlockchainProcessorService(BlockchainService):
|
|||
|
||||
self.hashX_history_cache = LRUCache(min(100, max(0, env.hashX_history_cache_size)))
|
||||
self.hashX_full_cache = LRUCache(min(100, max(0, env.hashX_history_cache_size)))
|
||||
self.history_tx_info_cache = LRUCache(2 ** 20)
|
||||
self.history_tx_info_cache = LRUCache(2 ** 16)
|
||||
|
||||
async def run_in_thread_with_lock(self, func, *args):
|
||||
# Run in a thread to prevent blocking. Shielded so that
|
||||
|
|
Loading…
Add table
Reference in a new issue