Skip to content

Commit 7277448

Browse files
committed
Update messages
1 parent 0c268aa commit 7277448

File tree

1 file changed

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

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,12 @@ impl KeyValueDatabase for TurboKeyValueDatabase {
105105
// Compact the database on shutdown
106106
if self.is_ci {
107107
// Fully compact in CI to reduce cache size
108-
do_compact(
109-
&self.db,
110-
"Finished final full database compaction (CI)",
111-
usize::MAX,
112-
)?;
108+
do_compact(&self.db, "Finished database compaction", usize::MAX)?;
113109
} else {
114110
// Compact with a reasonable limit in non-CI environments
115111
do_compact(
116112
&self.db,
117-
"Finished final database compaction",
113+
"Finished database compaction",
118114
available_parallelism().map_or(4, |c| max(4, c.get())),
119115
)?;
120116
}
@@ -172,7 +168,7 @@ impl<'a> BaseWriteBatch<'a> for TurboWriteBatch<'a> {
172168
let handle = spawn(async move {
173169
do_compact(
174170
&db,
175-
"Finished background database compaction after write",
171+
"Finished database compaction",
176172
available_parallelism().map_or(4, |c| max(4, c.get() / 2)),
177173
)
178174
});

0 commit comments

Comments
 (0)