Skip to content

Commit

Permalink
[State Sync] Bump max message size to 10MB.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLind committed Oct 1, 2024
1 parent 1b25154 commit 7f6d95b
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize};
use serde_yaml::Value;

// The maximum message size per state sync message
const MAX_MESSAGE_SIZE: usize = 8 * 1024 * 1024; /* 8 MiB */
const MAX_MESSAGE_SIZE: usize = 10 * 1024 * 1024; /* 10 MiB */

// The maximum chunk sizes for data client requests and response
const MAX_EPOCH_CHUNK_SIZE: u64 = 200;
Expand Down

0 comments on commit 7f6d95b

Please sign in to comment.