hgext/progress.py
branchstable
changeset 10462 a94804a8087d
parent 10453 7edc649f9f7e
child 10463 5ddde896a19d
--- a/hgext/progress.py	Sun Feb 14 13:29:11 2010 +0100
+++ b/hgext/progress.py	Sun Feb 14 13:58:30 2010 +0100
@@ -157,7 +157,7 @@
             if topic not in self.topics:
                 self.topics.append(topic)
             now = time.time()
-            if now - self.lastprint > 0.1 and topic == self.topics[-1]:
+            if now - self.lastprint > self.refresh and topic == self.topics[-1]:
                 self.lastprint = now
                 self.show(topic, pos, item, unit, total)
         return orig(topic, pos, item=item, unit=unit, total=total)