Skip to content

Commit

Permalink
Increase NW batch size .5Mb -> 5Mb (MystenLabs#11073)
Browse files Browse the repository at this point in the history
tested in private-testnet
  • Loading branch information
arun-koshy authored Apr 22, 2023
1 parent 6ff1edf commit bc1af51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ validator_configs:
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
batch_size: 5000000
max_batch_delay: 100ms
block_synchronizer:
range_synchronize_timeout: 30000ms
Expand Down Expand Up @@ -113,7 +113,7 @@ validator_configs:
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
batch_size: 5000000
max_batch_delay: 100ms
block_synchronizer:
range_synchronize_timeout: 30000ms
Expand Down Expand Up @@ -197,7 +197,7 @@ validator_configs:
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
batch_size: 5000000
max_batch_delay: 100ms
block_synchronizer:
range_synchronize_timeout: 30000ms
Expand Down Expand Up @@ -281,7 +281,7 @@ validator_configs:
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
batch_size: 5000000
max_batch_delay: 100ms
block_synchronizer:
range_synchronize_timeout: 30000ms
Expand Down Expand Up @@ -365,7 +365,7 @@ validator_configs:
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
batch_size: 5000000
max_batch_delay: 100ms
block_synchronizer:
range_synchronize_timeout: 30000ms
Expand Down Expand Up @@ -449,7 +449,7 @@ validator_configs:
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
batch_size: 5000000
max_batch_delay: 100ms
block_synchronizer:
range_synchronize_timeout: 30000ms
Expand Down Expand Up @@ -533,7 +533,7 @@ validator_configs:
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
batch_size: 5000000
max_batch_delay: 100ms
block_synchronizer:
range_synchronize_timeout: 30000ms
Expand Down
2 changes: 1 addition & 1 deletion narwhal/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl Parameters {
}

fn default_batch_size() -> usize {
500_000
5_000_000
}

fn default_max_batch_delay() -> Duration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ expression: parameters
"gc_depth": 50,
"sync_retry_delay": "5000ms",
"sync_retry_nodes": 3,
"batch_size": 500000,
"batch_size": 5000000,
"max_batch_delay": "100ms",
"block_synchronizer": {
"range_synchronize_timeout": "30000ms",
Expand Down

0 comments on commit bc1af51

Please sign in to comment.