Skip to content

Commit

Permalink
protocol: set operation annoucement interval to 150
Browse files Browse the repository at this point in the history
  • Loading branch information
gterzian committed Oct 3, 2022
1 parent 28cac34 commit 6de3e12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion massa-node/base_config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
# All operations asked are prune each `operation_asked_pruning_period` millisecond
asked_operations_pruning_period = 100000
# Interval at which operations are announced in batches.
operation_announcement_interval = 500
operation_announcement_interval = 150
# Max number of operation per message, same as network param but can be smaller
max_operations_per_message = 1024
# Time threshold after which operation are not propagated
Expand Down
2 changes: 1 addition & 1 deletion massa-protocol-exports/src/tests/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ pub fn create_protocol_config() -> ProtocolConfig {
operation_batch_buffer_capacity: 1000,
operation_batch_proc_period: 200.into(),
asked_operations_pruning_period: 500.into(),
operation_announcement_interval: 500.into(),
operation_announcement_interval: 150.into(),
max_operations_per_message: 1024,
thread_count: 32,
max_serialized_operations_size_per_block: 1024,
Expand Down

0 comments on commit 6de3e12

Please sign in to comment.