~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/recordcounter.py

  • Committer: Parth Malwankar
  • Date: 2010-06-12 02:58:42 UTC
  • mto: This revision was merged to the branch mainline in revision 5291.
  • Revision ID: parth.malwankar@gmail.com-20100612025842-amc5em04efepm069
reduced STEP in recordcounter to allow more frequent updates
on progress bar for slower connections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
        # Users of RecordCounter instance update progress bar every
33
33
        # _STEP_ records. We choose are reasonably high number to keep
34
 
        # display updates from being two frequent. This is an odd number
 
34
        # display updates from being too frequent. This is an odd number
35
35
        # to ensure that the last digit of the records fetched in
36
36
        # fetches vs estimate ratio changes periodically.
37
 
        self.STEP = 71
 
37
        self.STEP = 7
38
38
 
39
39
    def is_initialized(self):
40
40
        return self.initialized