Record time in seconds

This commit is contained in:
Martyn Inglis
2016-09-13 14:40:04 +01:00
parent 1a4b303c43
commit 34bd17ce66

View File

@@ -27,5 +27,5 @@ class StatsdClient(StatsClient):
def timing_with_dates(self, stat, start, end, rate=1):
if self.active:
delta = (start - end).total_seconds() * 1000
delta = (start - end).total_seconds()
super(StatsClient, self).timing(stat, delta, rate)