mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Report per request metrics for all of the things using request_handler
This commit is contained in:
parent
21d188bf95
commit
8d7ad44331
9 changed files with 76 additions and 47 deletions
|
@ -112,6 +112,7 @@ class ReplicationResource(Resource):
|
|||
self.presence_handler = hs.get_handlers().presence_handler
|
||||
self.typing_handler = hs.get_handlers().typing_notification_handler
|
||||
self.notifier = hs.notifier
|
||||
self.clock = hs.get_clock()
|
||||
|
||||
self.putChild("remove_pushers", PusherResource(hs))
|
||||
|
||||
|
@ -139,7 +140,7 @@ class ReplicationResource(Resource):
|
|||
state_token,
|
||||
))
|
||||
|
||||
@request_handler
|
||||
@request_handler()
|
||||
@defer.inlineCallbacks
|
||||
def _async_render_GET(self, request):
|
||||
limit = parse_integer(request, "limit", 100)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue