Monotone-Parent: 6eba62f428795a0fa79c3f6fa089c1f0bdb79224
Monotone-Revision: bcf3ec198a9fc9a38979133a1a51c6ad69c9537c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-05-18T18:00:11 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
d5a03c0d25
commit
59685ed035
|
@ -418,9 +418,8 @@ static BOOL debugLeaks;
|
||||||
if (debugRequests)
|
if (debugRequests)
|
||||||
{
|
{
|
||||||
timeDelta = [[NSDate date] timeIntervalSinceDate: startDate];
|
timeDelta = [[NSDate date] timeIntervalSinceDate: startDate];
|
||||||
[self logWithFormat: [NSString stringWithFormat:
|
[self logWithFormat: @"request took %f seconds to execute",
|
||||||
@"request took %f seconds to execute",
|
timeDelta];
|
||||||
timeDelta]];
|
|
||||||
[resp setHeader: [NSString stringWithFormat: @"%f", timeDelta]
|
[resp setHeader: [NSString stringWithFormat: @"%f", timeDelta]
|
||||||
forKey: @"SOGoRequestDuration"];
|
forKey: @"SOGoRequestDuration"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue