From 63c7bec03de54c6e9b8f0c248a984db09d5a2493 Mon Sep 17 00:00:00 2001
From: clokep This option ratelimits creation of MXC URIs via the Example configuration: Defines limits on federation requests. The per_second: 0.2
, burst_count:
burst_count: 10
+
+rc_media_create
/_matrix/media/v1/create
+endpoint based on the account that's creating the media. Defaults to
+per_second: 10
, burst_count: 50
.
+rc_media_create:
+ per_second: 10
+ burst_count: 50
+
rc_federation
rc_federation
configuration has the following sub-options:
media_store_path: "DATADIR/media_store"
max_pending_media_uploads
How many pending media uploads can a given user have? A pending media upload
+is a created MXC URI that (a) is not expired (the unused_expires_at
timestamp
+has not passed) and (b) the media has not yet been uploaded for. Defaults to 5.
Example configuration:
+max_pending_media_uploads: 5
+
+unused_expiration_time
How long to wait in milliseconds before expiring created media IDs. Defaults to +"24h"
+Example configuration:
+unused_expiration_time: "1h"
+
+media_storage_providers
Media storage providers allow media to be stored in different locations. Defaults to none. Associated sub-options are:
-- cgit 1.5.1