mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-15 21:59:58 -04:00
fix create progress not updating if clock jumps
This commit is contained in:
parent
420c984f05
commit
2dc558a02e
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ class Statistics:
|
|||
return format_file_size(self.csize)
|
||||
|
||||
def show_progress(self, item=None, final=False, stream=None, dt=None):
|
||||
now = time.time()
|
||||
now = time.monotonic()
|
||||
if dt is None or now - self.last_progress > dt:
|
||||
self.last_progress = now
|
||||
columns, lines = get_terminal_size()
|
||||
|
|
|
|||
Loading…
Reference in a new issue