Skip to content

Commit

Permalink
increase http request bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
red-0ne committed Jan 25, 2025
1 parent 1e34b01 commit 49e013e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ validators:
rpc:
# Controls how large any single RPC request accepted by the CometBFT
# server (offchain) can be.
max_body_bytes: "100000000"
max_body_bytes: "10000000000"
mempool:
# Control how big any single transaction accepted by the CometBFT server
# (offchain) can be.
# Since multiple messages are bundled into a single transaction,
# max_tx_bytes needs to be increased alongside max_txs_bytes as well.
max_tx_bytes: "100000000"
max_tx_bytes: "100000000000"
client:
chain-id: poktroll

Expand Down
4 changes: 2 additions & 2 deletions load-testing/tests/relays_stress_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1556,14 +1556,14 @@ func (s *relaysSuite) forEachRelayBatchSendBatch(_ context.Context, relayBatchIn
// each sending relayRatePerApp relays per second.
relaysPerSec := len(relayBatchInfo.appAccounts) * int(s.relayRatePerApp)
// Determine the interval between each relay request.
relayInterval := time.Second / time.Duration(85)
relayInterval := time.Second / time.Duration(20)

batchWaitGroup := new(sync.WaitGroup)
batchWaitGroup.Add(relaysPerSec * int(blockDurationSec))

now := time.Now()

for i := 0; i < 50000; i++ {
for i := 0; i < 10000; i++ {
iterationTime := now.Add(time.Duration(i+1) * relayInterval)
batchLimiter.Go(s.ctx, func() {

Expand Down

0 comments on commit 49e013e

Please sign in to comment.