You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: internal/config/config.go
+2
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,8 @@ type Configuration struct {
98
98
MediaRemoteCacheDaysint`name:"media-remote-cache-days" usage:"Number of days to locally cache media from remote instances. If set to 0, remote media will be kept indefinitely."`
99
99
MediaEmojiLocalMaxSize bytesize.Size`name:"media-emoji-local-max-size" usage:"Max size in bytes of emojis uploaded to this instance via the admin API."`
100
100
MediaEmojiRemoteMaxSize bytesize.Size`name:"media-emoji-remote-max-size" usage:"Max size in bytes of emojis to download from other instances."`
101
+
MediaImageSizeHint bytesize.Size`name:"media-image-size-hint" usage:"Size in bytes of max image size referred to on /api/v_/instance endpoints (else, local max size)"`
102
+
MediaVideoSizeHint bytesize.Size`name:"media-video-size-hint" usage:"Size in bytes of max video size referred to on /api/v_/instance endpoints (else, local max size)"`
101
103
MediaLocalMaxSize bytesize.Size`name:"media-local-max-size" usage:"Max size in bytes of media uploaded to this instance via API"`
102
104
MediaRemoteMaxSize bytesize.Size`name:"media-remote-max-size" usage:"Max size in bytes of media to download from other instances"`
103
105
MediaCleanupFromstring`name:"media-cleanup-from" usage:"Time of day from which to start running media cleanup/prune jobs. Should be in the format 'hh:mm:ss', eg., '15:04:05'."`
0 commit comments