Rev 4044: Increase the debounce time for 'transport activity' to 0.5s in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Wed Feb 25 00:45:50 GMT 2009
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 4044
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
-------------- next part --------------
=== 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