Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleherbau2011-05-27 11:47:58 +0000
committeraleherbau2011-05-27 11:47:58 +0000
commit60def20cd9db7c76d7450c58658021e5cc0ba08e (patch)
treeb388bb12fedc4a27edadce8f2f3a12348561487c /python/src/tcf/channel
parent009543ef37841c5f1f7ae4dcb849573c3d3ea7a4 (diff)
downloadorg.eclipse.tcf-60def20cd9db7c76d7450c58658021e5cc0ba08e.tar.gz
org.eclipse.tcf-60def20cd9db7c76d7450c58658021e5cc0ba08e.tar.xz
org.eclipse.tcf-60def20cd9db7c76d7450c58658021e5cc0ba08e.zip
TCF Python: Fixed timer queue sorting, time units
Diffstat (limited to 'python/src/tcf/channel')
-rw-r--r--python/src/tcf/channel/AbstractChannel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/tcf/channel/AbstractChannel.py b/python/src/tcf/channel/AbstractChannel.py
index d8991e383..39ca084a8 100644
--- a/python/src/tcf/channel/AbstractChannel.py
+++ b/python/src/tcf/channel/AbstractChannel.py
@@ -681,7 +681,7 @@ class AbstractChannel(object):
if self.local_congestion_cnt < 8: return
self.local_congestion_cnt = 0
if self.state != STATE_OPEN: return
- timeVal = int(time.time())
+ timeVal = int(time.time() * 1000)
if timeVal - self.local_congestion_time < 500: return
assert protocol.isDispatchThread()
level = protocol.getCongestionLevel()

Back to the top