Skip to content

Commit

Permalink
[State Sync] Update output syncing chunk sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLind committed Mar 3, 2023
1 parent 0a0cb31 commit add4b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/src/config/state_sync_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use serde::{Deserialize, Serialize};

// The maximum message size per state sync message
pub const MAX_MESSAGE_SIZE: usize = 20 * 1024 * 1024; /* 4 MiB */
pub const MAX_MESSAGE_SIZE: usize = 20 * 1024 * 1024; /* 20 MiB */

#[derive(Clone, Debug, Default, Deserialize, PartialEq, Eq, Serialize)]
#[serde(default, deny_unknown_fields)]
Expand Down Expand Up @@ -127,7 +127,7 @@ impl Default for StorageServiceConfig {
max_state_chunk_size: 4000,
max_subscription_period_ms: 5000,
max_transaction_chunk_size: 5000,
max_transaction_output_chunk_size: 1000,
max_transaction_output_chunk_size: 5000,
storage_summary_refresh_interval_ms: 50,
}
}
Expand Down

0 comments on commit add4b51

Please sign in to comment.