Rev 4045: (jam) Increase the transport_activity debounce time to 0.5s in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Feb 25 02:58:42 GMT 2009


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

------------------------------------------------------------
revno: 4045
revision-id: pqm at pqm.ubuntu.com-20090225025839-qzk3lo9bipdwf7cj
parent: pqm at pqm.ubuntu.com-20090225011157-xn0w5zux5mrges6j
parent: john at arbash-meinel.com-20090225004539-dtqcb1s0kxpeaj85
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2009-02-25 02:58:39 +0000
message:
  (jam) Increase the transport_activity debounce time to 0.5s
modified:
  bzrlib/ui/text.py              text.py-20051130153916-2e438cffc8afc478
    ------------------------------------------------------------
    revno: 4043.1.1
    revision-id: john at arbash-meinel.com-20090225004539-dtqcb1s0kxpeaj85
    parent: pqm at pqm.ubuntu.com-20090225000405-09p33ue22l4h19yk
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: jam-integration
    timestamp: Tue 2009-02-24 18:45:39 -0600
    message:
      Increase the debounce time for 'transport activity' to 0.5s
    modified:
      bzrlib/ui/text.py              text.py-20051130153916-2e438cffc8afc478
=== modified file 'bzrlib/ui/text.py'
--- a/bzrlib/ui/text.py	2009-02-23 15:29:35 +0000
+++ b/bzrlib/ui/text.py	2009-02-25 00:45:39 +0000
@@ -219,7 +219,7 @@
         now = time.time()
         if self._transport_update_time is None:
             self._transport_update_time = now
-        elif now >= (self._transport_update_time + 0.2):
+        elif now >= (self._transport_update_time + 0.5):
             # guard against clock stepping backwards, and don't update too
             # often
             rate = self._bytes_since_update / (now - self._transport_update_time)




More information about the bazaar-commits mailing list