summary refs log tree commit diff
path: root/synapse/replication/pusher_resource.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-04-28 14:59:45 +0100
committerMark Haines <mjark@negativecurvature.net>2016-04-28 14:59:45 +0100
commit1c188cf73c503c99cc62f2af5c0a4d9546048280 (patch)
treec416f93bcdb93c813fdd9e6b57566ea14d0565ef /synapse/replication/pusher_resource.py
parentMerge pull request #755 from matrix-org/markjh/right_direction (diff)
parentAdd a comment explaining why automatic metric reporting is disabled for JsonR... (diff)
downloadsynapse-1c188cf73c503c99cc62f2af5c0a4d9546048280.tar.xz
Merge pull request #756 from matrix-org/markjh/more_metrics
Report per request metrics for all of the things using request_handler
Diffstat (limited to 'synapse/replication/pusher_resource.py')
-rw-r--r--synapse/replication/pusher_resource.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/replication/pusher_resource.py b/synapse/replication/pusher_resource.py

index b87026d79a..9b01ab3c13 100644 --- a/synapse/replication/pusher_resource.py +++ b/synapse/replication/pusher_resource.py
@@ -31,12 +31,13 @@ class PusherResource(Resource): self.version_string = hs.version_string self.store = hs.get_datastore() self.notifier = hs.get_notifier() + self.clock = hs.get_clock() def render_POST(self, request): self._async_render_POST(request) return NOT_DONE_YET - @request_handler + @request_handler() @defer.inlineCallbacks def _async_render_POST(self, request): content = parse_json_object_from_request(request)