Bump up size cutoff to 4 GiB (uncompressed)
continuous-integration/drone the build failed Details

This commit is contained in:
Olivier 'reivilibre' 2022-03-27 19:45:44 +01:00
parent 27c3218097
commit ad10b9eb38
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ use std::path::Path;
use std::time::Duration;
use tokio::sync::mpsc::Receiver;
/// Size at which a new pack file will be created. 256 MiB, will later be configurable?
pub const SUGGESTED_SIZE_CUTOFF: usize = 256 * 1024 * 1024;
/// Size at which a new pack file will be created. 4 GiB, will later be configurable?
pub const SUGGESTED_SIZE_CUTOFF: usize = 4 * 1024 * 1024 * 1024;
/// The Zstd compression level to use. 16 is quite high, but we really want the compact file sizes;
/// willing to pay quite a lot in compression speed.