@@ -474,8 +474,8 @@ will result in less chance of missing data but can significantly increase memory
474474 f .BoolVar (& inputSensorParams .ShouldBroadcastTxHashes , "broadcast-tx-hashes" , false , "broadcast transaction hashes to peers" )
475475 f .BoolVar (& inputSensorParams .ShouldBroadcastBlocks , "broadcast-blocks" , false , "broadcast full blocks to peers" )
476476 f .BoolVar (& inputSensorParams .ShouldBroadcastBlockHashes , "broadcast-block-hashes" , false , "broadcast block hashes to peers" )
477- f .IntVar (& inputSensorParams .MaxCachedTxs , "max-cached-txs" , 10000 , "maximum number of transactions to cache for serving to peers" )
478- f .IntVar (& inputSensorParams .MaxCachedBlocks , "max-cached-blocks" , 1000 , "maximum number of blocks to cache for serving to peers" )
477+ f .IntVar (& inputSensorParams .MaxCachedTxs , "max-cached-txs" , 2048 , "maximum number of transactions to cache for serving to peers" )
478+ f .IntVar (& inputSensorParams .MaxCachedBlocks , "max-cached-blocks" , 128 , "maximum number of blocks to cache for serving to peers" )
479479 f .IntVar (& inputSensorParams .MaxKnownTxs , "max-known-txs" , 8192 , "maximum transaction hashes to track per peer" )
480480 f .IntVar (& inputSensorParams .MaxKnownBlocks , "max-known-blocks" , 1024 , "maximum block hashes to track per peer" )
481481 f .BoolVar (& inputSensorParams .ShouldRunPprof , "pprof" , false , "run pprof server" )
0 commit comments