From f7cadba0b1c9aebd5238ca716a9e878167a5e61b Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 23 Oct 2023 22:17:32 -0600 Subject: [PATCH] fixup! media/create: add /create endpoint Signed-off-by: Sumner Evans --- synapse/rest/media/create_resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/rest/media/create_resource.py b/synapse/rest/media/create_resource.py index 87b90a92eb4b..84d6d9f1b955 100644 --- a/synapse/rest/media/create_resource.py +++ b/synapse/rest/media/create_resource.py @@ -64,7 +64,7 @@ async def _async_render_POST(self, request: SynapseRequest) -> None: ) if reached_pending_limit: raise LimitExceededError( - limiter_name="rc_media_create", + limiter_name="max_pending_media_uploads", retry_after_ms=first_expiration_ts - self.clock.time_msec(), )