Fix to correct timer() ms scale.

This commit is contained in:
Patrick Hensley 2012-06-06 15:38:41 -04:00
parent 2b8948ae0a
commit 3bd4fbbe61
1 changed files with 1 additions and 1 deletions

View File

@ -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