Skip to content

Commit 5ac579c

Browse files
authored
Turbopack: reduce max coverage for compaction (#78649)
### What? Compact earlier to limit the number of accessed files.
1 parent 52233c1 commit 5ac579c

File tree

1 file changed

+1
-1
lines changed
  • turbopack/crates/turbo-tasks-backend/src/database

1 file changed

+1
-1
lines changed

turbopack/crates/turbo-tasks-backend/src/database/turbo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use crate::database::{
1313
write_batch::{BaseWriteBatch, ConcurrentWriteBatch, WriteBatch, WriteBuffer},
1414
};
1515

16-
const COMPACT_MAX_COVERAGE: f32 = 20.0;
16+
const COMPACT_MAX_COVERAGE: f32 = 10.0;
1717
const COMPACT_MAX_MERGE_SEQUENCE: usize = 8;
1818

1919
pub struct TurboKeyValueDatabase {

0 commit comments

Comments
 (0)