increase the default history_tx_cache_size

This commit is contained in:
Jack Robison 2022-08-18 18:11:11 -04:00
parent 570bda9c8b
commit c53d2b6f5a

View file

@ -61,7 +61,7 @@ class ServerEnv(Env):
self.tx_cache_size = tx_cache_size if tx_cache_size is not None else self.integer( self.tx_cache_size = tx_cache_size if tx_cache_size is not None else self.integer(
'TX_CACHE_SIZE', 32768) 'TX_CACHE_SIZE', 32768)
self.history_tx_cache_size = history_tx_cache_size if history_tx_cache_size is not None else \ 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 @classmethod
def contribute_to_arg_parser(cls, parser): def contribute_to_arg_parser(cls, parser):