Skip to content

Commit

Permalink
feat(networking): reduce batch size to 64
Browse files Browse the repository at this point in the history
This should keep a lid on mem issues
  • Loading branch information
joshuef committed Nov 23, 2023
1 parent 716fab9 commit c3e3cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_client/src/file_apis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct Files {
type ChunkFileResult = Result<(XorName, u64, Vec<(XorName, PathBuf)>)>;

// Defines the size of batch for the parallel downloading of data.
pub const BATCH_SIZE: usize = 100;
pub const BATCH_SIZE: usize = 64;

impl Files {
/// Create file apis instance.
Expand Down

0 comments on commit c3e3cd0

Please sign in to comment.