[CalendarServer-changes] [13632] CalendarServer/trunk/txdav/who/augment.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 11 11:38:06 PDT 2014
Revision: 13632
http://trac.calendarserver.org//changeset/13632
Author: sagen at apple.com
Date: 2014-06-11 11:38:06 -0700 (Wed, 11 Jun 2014)
Log Message:
-----------
Fix calculation of directory service call timings
Modified Paths:
--------------
CalendarServer/trunk/txdav/who/augment.py
Modified: CalendarServer/trunk/txdav/who/augment.py
===================================================================
--- CalendarServer/trunk/txdav/who/augment.py 2014-06-11 16:06:36 UTC (rev 13631)
+++ CalendarServer/trunk/txdav/who/augment.py 2014-06-11 18:38:06 UTC (rev 13632)
@@ -83,8 +83,9 @@
"""
Records the start time of the call and the method's name
"""
+ startTime = time.time()
d = f(self, *args, **kwds)
- d.addBoth(recordTiming, f.func_name, time.time())
+ d.addBoth(recordTiming, f.func_name, startTime)
return d
return timingWrapper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140611/2b2f544a/attachment.html>
More information about the calendarserver-changes
mailing list