diff --git a/hub/scribe/env.py b/hub/scribe/env.py index e0a478e..f49cee2 100644 --- a/hub/scribe/env.py +++ b/hub/scribe/env.py @@ -18,7 +18,7 @@ class BlockchainEnv(Env): if isinstance(rebuild_address_status_from_height, int) else -1 self.daemon_ca_path = daemon_ca_path if daemon_ca_path else None self.history_tx_cache_size = history_tx_cache_size if history_tx_cache_size is not None else \ - self.integer('HISTORY_TX_CACHE_SIZE', 524288) + self.integer('HISTORY_TX_CACHE_SIZE', 4194304) @classmethod def contribute_to_arg_parser(cls, parser): @@ -42,7 +42,7 @@ class BlockchainEnv(Env): help="Rebuild address statuses, set to 0 to reindex all address statuses or provide a " "block height to start reindexing from. Defaults to -1 (off).") parser.add_argument('--history_tx_cache_size', type=int, - default=cls.integer('HISTORY_TX_CACHE_SIZE', 524288), + default=cls.integer('HISTORY_TX_CACHE_SIZE', 4194304), help="Size of the lfu cache of txids in transaction histories for addresses. " "Can be set in the env with 'HISTORY_TX_CACHE_SIZE'")