gc: improve percentage done logs

This commit is contained in:
Dietmar Maurer
2020-09-02 10:03:53 +02:00
parent deef63699e
commit 8317873c06
2 changed files with 15 additions and 1 deletions

View File

@ -295,7 +295,7 @@ impl ChunkStore {
for (entry, percentage) in self.get_chunk_iterator()? {
if last_percentage != percentage {
last_percentage = percentage;
worker.log(format!("{}%, processed {} chunks", percentage, chunk_count));
worker.log(format!("percentage done: phase2 {}% (processed {} chunks)", percentage, chunk_count));
}
worker.fail_on_abort()?;