mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 20:26:08 -04:00
Fix servlet metric names (#5734)
* Fix servlet metric names Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Remove redundant check * Cover all return paths
This commit is contained in:
parent
8b0d5b171e
commit
cf2972c818
10 changed files with 92 additions and 31 deletions
|
@ -205,7 +205,7 @@ class ReplicationEndpoint(object):
|
|||
args = "/".join("(?P<%s>[^/]+)" % (arg,) for arg in url_args)
|
||||
pattern = re.compile("^/_synapse/replication/%s/%s$" % (self.NAME, args))
|
||||
|
||||
http_server.register_paths(method, [pattern], handler)
|
||||
http_server.register_paths(method, [pattern], handler, self.__class__.__name__)
|
||||
|
||||
def _cached_handler(self, request, txn_id, **kwargs):
|
||||
"""Called on new incoming requests when caching is enabled. Checks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue