Skip to content

Commit 1a97c39

Browse files
committed
fixup
1 parent 89af3da commit 1a97c39

File tree

1 file changed

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

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,13 @@ impl<'a> BaseWriteBatch<'a> for TurboWriteBatch<'a> {
137137
if !self.initial_write {
138138
// Start a new compaction in the background
139139
let db = self.db.clone();
140-
let handle =
141-
spawn(move || db.compact(COMPACT_MAX_COVERAGE, COMPACT_MAX_MERGE_SEQUENCE));
140+
let handle = spawn(move || {
141+
db.compact(
142+
COMPACT_MAX_COVERAGE,
143+
COMPACT_MAX_MERGE_SEQUENCE,
144+
COMPACT_MAX_MERGE_SIZE,
145+
)
146+
});
142147
self.compact_join_handle.lock().replace(handle);
143148
}
144149

0 commit comments

Comments
 (0)