From f05bb8990483bf12483bdd4ca63dba27da214013 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Fri, 9 Jun 2023 14:16:24 -0600 Subject: [PATCH] fixup! fixup! config: add option for max pending media uploads Signed-off-by: Sumner Evans --- synapse/media/media_repository.py | 1 - 1 file changed, 1 deletion(-) diff --git a/synapse/media/media_repository.py b/synapse/media/media_repository.py index 6d1c065633ba..0682709596eb 100644 --- a/synapse/media/media_repository.py +++ b/synapse/media/media_repository.py @@ -80,7 +80,6 @@ def __init__(self, hs: "HomeServer"): self.max_upload_size = hs.config.media.max_upload_size self.max_image_pixels = hs.config.media.max_image_pixels self.unused_expiration_time = hs.config.media.unused_expiration_time - self.max_pending_media_uploads = hs.config.media.max_pending_media_uploads Thumbnailer.set_limits(self.max_image_pixels)