mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 07:05:12 +00:00
Remove redundant measure
This commit is contained in:
parent
8731197e54
commit
6d1a94d218
1 changed files with 28 additions and 29 deletions
|
@ -235,7 +235,6 @@ class JsonResource(HttpServer, resource.Resource):
|
||||||
request_metrics = RequestMetrics()
|
request_metrics = RequestMetrics()
|
||||||
request_metrics.start(self.clock)
|
request_metrics.start(self.clock)
|
||||||
|
|
||||||
with Measure(self.clock, "http.render"):
|
|
||||||
# Loop through all the registered callbacks to check if the method
|
# Loop through all the registered callbacks to check if the method
|
||||||
# and path regex match
|
# and path regex match
|
||||||
for path_entry in self.path_regexs.get(request.method, []):
|
for path_entry in self.path_regexs.get(request.method, []):
|
||||||
|
|
Loading…
Reference in a new issue