Skip to content

Commit

Permalink
chaning tick intervals in mempool and state_sync to 500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Jan 4, 2022
1 parent 509a9de commit cb91da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/src/config/mempool_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct MempoolConfig {
impl Default for MempoolConfig {
fn default() -> MempoolConfig {
MempoolConfig {
shared_mempool_tick_interval_ms: 50, // TODO: Seems too fast.
shared_mempool_tick_interval_ms: 500, //////// 0L ////////
shared_mempool_backoff_interval_ms: 30_000,
shared_mempool_batch_size: 100,
shared_mempool_ack_timeout_ms: 2_000,
Expand Down
2 changes: 1 addition & 1 deletion config/src/config/state_sync_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl Default for StateSyncConfig {
mempool_commit_timeout_ms: 5_000,
multicast_timeout_ms: 30_000,
sync_request_timeout_ms: 60_000,
tick_interval_ms: 1000,
tick_interval_ms: 500, //////// 0L ////////
}
}
}

0 comments on commit cb91da3

Please sign in to comment.