Bump up size cutoff to 4 GiB (uncompressed)
Some checks failed
continuous-integration/drone the build failed
Some checks failed
continuous-integration/drone the build failed
This commit is contained in:
parent
27c3218097
commit
ad10b9eb38
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user