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

This commit is contained in:
Olivier 'reivilibre' 2022-03-27 19:45:44 +01:00
parent 27c3218097
commit ad10b9eb38

View File

@ -11,8 +11,8 @@ use std::path::Path;
use std::time::Duration; use std::time::Duration;
use tokio::sync::mpsc::Receiver; use tokio::sync::mpsc::Receiver;
/// Size at which a new pack file will be created. 256 MiB, will later be configurable? /// Size at which a new pack file will be created. 4 GiB, will later be configurable?
pub const SUGGESTED_SIZE_CUTOFF: usize = 256 * 1024 * 1024; 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; /// 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. /// willing to pay quite a lot in compression speed.