Commit d6fa448a authored by Roberto Bayardo's avatar Roberto Bayardo Committed by GitHub

increase the transaction throttling limit to allow >99% of transactions (#13047)

Co-authored-by: default avatarMatthew Slipper <me@matthewslipper.com>
parent 9dda7290
...@@ -171,7 +171,7 @@ var ( ...@@ -171,7 +171,7 @@ var (
ThrottleTxSizeFlag = &cli.IntFlag{ ThrottleTxSizeFlag = &cli.IntFlag{
Name: "throttle-tx-size", Name: "throttle-tx-size",
Usage: "The DA size of transactions to start throttling when we are over the throttle threshold", Usage: "The DA size of transactions to start throttling when we are over the throttle threshold",
Value: 300, // most transactions compress to under 300 bytes. TODO: compute exact distribution Value: 5000, // less than 1% of all transactions should be affected by this limit
EnvVars: prefixEnvVars("THROTTLE_TX_SIZE"), EnvVars: prefixEnvVars("THROTTLE_TX_SIZE"),
} }
ThrottleBlockSizeFlag = &cli.IntFlag{ ThrottleBlockSizeFlag = &cli.IntFlag{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment