Skip to content

Commit

Permalink
fix-sync-param (#209)
Browse files Browse the repository at this point in the history
Co-authored-by: Aurélien Nicolas <[email protected]>
  • Loading branch information
naure and Aurélien Nicolas authored Aug 7, 2024
1 parent 37a640e commit 4402c57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ pub fn sync(comm: &Comm, state: &SyncState) -> Result<SyncResult> {
}

impl SyncState {
// Change these parameters together - see unittests below.
pub const MAX_REQUESTS: usize = 128;
const SERIAL_SIZE: usize = 8192;
const SERIAL_SIZE: usize = 16384;

/// Serialize the state to a fixed-size buffer.
fn serialize(&self) -> Result<Vec<u8>> {
Expand Down

0 comments on commit 4402c57

Please sign in to comment.