Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fixup! fixup! config: add option for max pending media uploads
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jun 9, 2023
1 parent 156fe69 commit f05bb89
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion synapse/media/media_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f05bb89

Please sign in to comment.