ソースを参照

fix create progress not updating if clock jumps

Marian Beermann 8 年 前
コミット
2dc558a02e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      borg/helpers.py

+ 1 - 1
borg/helpers.py

@@ -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()