Fix to correct timer() ms scale.
This commit is contained in:
parent
2b8948ae0a
commit
3bd4fbbe61
|
@ -81,7 +81,7 @@ class StatsTimer(object):
|
|||
raise UserWarning(E_NOSTART)
|
||||
return
|
||||
elapsed = time.time() - self._timestamp
|
||||
self._client.timer(self._key, int(elapsed / 1000.0))
|
||||
self._client.timer(self._key, int(elapsed * 1000.0))
|
||||
self._started = 0
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue