Rev 5291: Fetch progress bar update now happens every 7 records instead of 71. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Mon Jun 14 16:22:14 BST 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5291 [merge]
revision-id: pqm at pqm.ubuntu.com-20100614152210-e4n3ahrxpmwcw6mx
parent: pqm at pqm.ubuntu.com-20100614104004-geqkwwyuyn3ut9ez
parent: parth.malwankar at gmail.com-20100612025842-amc5em04efepm069
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2010-06-14 16:22:10 +0100
message:
  Fetch progress bar update now happens every 7 records instead of 71.
   Progress bar is better on slower connections.
modified:
  bzrlib/recordcounter.py        recordcounter.py-20100512152727-q0kn8gah0tre0uqs-1
=== modified file 'bzrlib/recordcounter.py'
--- a/bzrlib/recordcounter.py	2010-05-19 13:30:09 +0000
+++ b/bzrlib/recordcounter.py	2010-06-12 02:58:42 +0000
@@ -31,10 +31,10 @@
 
         # Users of RecordCounter instance update progress bar every
         # _STEP_ records. We choose are reasonably high number to keep
-        # display updates from being two frequent. This is an odd number
+        # display updates from being too frequent. This is an odd number
         # to ensure that the last digit of the records fetched in
         # fetches vs estimate ratio changes periodically.
-        self.STEP = 71
+        self.STEP = 7
 
     def is_initialized(self):
         return self.initialized




More information about the bazaar-commits mailing list