mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Record time in seconds
This commit is contained in:
@@ -27,5 +27,5 @@ class StatsdClient(StatsClient):
|
|||||||
|
|
||||||
def timing_with_dates(self, stat, start, end, rate=1):
|
def timing_with_dates(self, stat, start, end, rate=1):
|
||||||
if self.active:
|
if self.active:
|
||||||
delta = (start - end).total_seconds() * 1000
|
delta = (start - end).total_seconds()
|
||||||
super(StatsClient, self).timing(stat, delta, rate)
|
super(StatsClient, self).timing(stat, delta, rate)
|
||||||
|
|||||||
Reference in New Issue
Block a user