mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 16:26:29 +00:00
finer repo check progress indicator
a step size of 5% was way too much, now doing 0.1%
This commit is contained in:
parent
541bbd4a5b
commit
e2f5983eef
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ def report_error(msg):
|
|||
segments_transaction_id = self.io.get_segments_transaction_id()
|
||||
self.prepare_txn(None) # self.index, self.compact, self.segments all empty now!
|
||||
segment_count = sum(1 for _ in self.io.segment_iterator())
|
||||
pi = ProgressIndicatorPercent(total=segment_count, msg="Checking segments %3.0f%%", same_line=True)
|
||||
pi = ProgressIndicatorPercent(total=segment_count, msg="Checking segments %3.1f%%", step=0.1, same_line=True)
|
||||
for i, (segment, filename) in enumerate(self.io.segment_iterator()):
|
||||
pi.show(i)
|
||||
if segment > transaction_id:
|
||||
|
|
Loading…
Reference in a new issue