diff options
author | Erik Johnston <erik@matrix.org> | 2016-02-15 17:10:40 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-02-17 15:40:50 +0000 |
commit | e5999bfb1a4aab56acecb59ed6d068442f5b11a0 (patch) | |
tree | fb55356d91a26e890547f05969aaeaef9c1105a1 /synapse/util/__init__.py | |
parent | Add wheeltimer impl (diff) | |
download | synapse-e5999bfb1a4aab56acecb59ed6d068442f5b11a0.tar.xz |
Initial cut
Diffstat (limited to 'synapse/util/__init__.py')
-rw-r--r-- | synapse/util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/__init__.py b/synapse/util/__init__.py index 133671e238..3b9da5b34a 100644 --- a/synapse/util/__init__.py +++ b/synapse/util/__init__.py @@ -42,7 +42,7 @@ class Clock(object): def time_msec(self): """Returns the current system time in miliseconds since epoch.""" - return self.time() * 1000 + return int(self.time() * 1000) def looping_call(self, f, msec): l = task.LoopingCall(f) |