~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: John Arbash Meinel
  • Date: 2009-02-25 00:45:39 UTC
  • mto: This revision was merged to the branch mainline in revision 4045.
  • Revision ID: john@arbash-meinel.com-20090225004539-dtqcb1s0kxpeaj85
Increase the debounce time for 'transport activity' to 0.5s

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
        now = time.time()
220
220
        if self._transport_update_time is None:
221
221
            self._transport_update_time = now
222
 
        elif now >= (self._transport_update_time + 0.2):
 
222
        elif now >= (self._transport_update_time + 0.5):
223
223
            # guard against clock stepping backwards, and don't update too
224
224
            # often
225
225
            rate = self._bytes_since_update / (now - self._transport_update_time)