Skip to content

Commit

Permalink
Merge pull request #75 from multiversx/disable-web-antiflood
Browse files Browse the repository at this point in the history
Disabled the web antiflood
  • Loading branch information
iulianpascalau authored Aug 13, 2024
2 parents 4916732 + 4e8cac1 commit 7061523
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/chainsimulator/config/nodeOverrideDefault.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# System overrides, DO NOT EDIT THIS FILE
OverridableConfigTomlValues = [
# the following line will disable stake limits (so the stake operations will accept as many nodes as desired)
{ File = "enableEpochs.toml", Path = "EnableEpochs.StakeLimitsEnableEpoch", Value = "1000000" }, # disable stake limits
{ File = "systemSmartContractsConfig.toml", Path = "ESDTSystemSCConfig.BaseIssuingCost", Value = "50000000000000000" }, # (0.05 EGLD)
{ File = "config.toml", Path = "Debug.Process.Enabled", Value = "false" }
{ File = "config.toml", Path = "Debug.Process.Enabled", Value = "false" }, # disable process debugger component that might alter the log levels
# the folowing 3 lines will disable the web antiflooding (useful to send a large transaction batch to the chain simulator)
{ File = "config.toml", Path = "WebServerAntiflood.WebServerAntifloodEnabled", Value = "false"},
{ File = "config.toml", Path = "WebServerAntiflood.SimultaneousRequests", Value = "100000"},
{ File = "config.toml", Path = "WebServerAntiflood.SameSourceRequests", Value = "1000000"}
]

0 comments on commit 7061523

Please sign in to comment.