Skip to content

Commit 9398949

Browse files
committed
default to 3 as compression ration
1 parent 1824127 commit 9398949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub fn extract_project_id(batch: &RecordBatch) -> Option<String> {
5959
const DEFAULT_VACUUM_RETENTION_HOURS: u64 = 72; // 2 weeks
6060
const DEFAULT_OPTIMIZE_TARGET_SIZE: i64 = 128 * 1024 * 1024; // 512MB
6161
const DEFAULT_PAGE_ROW_COUNT_LIMIT: usize = 20000;
62-
const ZSTD_COMPRESSION_LEVEL: i32 = 6; // Balance between compression ratio and speed
62+
const ZSTD_COMPRESSION_LEVEL: i32 = 3; // Balance between compression ratio and speed
6363

6464
#[derive(Debug, Clone, Serialize, Deserialize, sqlx::FromRow)]
6565
struct StorageConfig {

0 commit comments

Comments
 (0)