diff options
author | 2024-08-03 16:40:26 +0200 | |
---|---|---|
committer | 2024-08-03 16:40:26 +0200 | |
commit | fa59c3713c14bd1463b923d57a57a914622626d7 (patch) | |
tree | 255f4e4995fb308da9f2e0f0377ede02089ebff3 /internal/config/config.go | |
parent | [chore/frontend] Update namerole rendering on skinny devices (#3166) (diff) | |
download | gotosocial-fa59c3713c14bd1463b923d57a57a914622626d7.tar.xz |
[chore] Add `media-ffmpeg-pool-size` config var (#3164)
Diffstat (limited to 'internal/config/config.go')
-rw-r--r-- | internal/config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index bba284d56..79f74cf71 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -101,6 +101,7 @@ type Configuration struct { MediaRemoteMaxSize bytesize.Size `name:"media-remote-max-size" usage:"Max size in bytes of media to download from other instances"` MediaCleanupFrom string `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'."` MediaCleanupEvery time.Duration `name:"media-cleanup-every" usage:"Period to elapse between cleanups, starting from media-cleanup-at."` + MediaFfmpegPoolSize int `name:"media-ffmpeg-pool-size" usage:"Number of instances of the embedded ffmpeg WASM binary to add to the media processing pool. 0 or less uses GOMAXPROCS."` StorageBackend string `name:"storage-backend" usage:"Storage backend to use for media attachments"` StorageLocalBasePath string `name:"storage-local-base-path" usage:"Full path to an already-created directory where gts should store/retrieve media files. Subfolders will be created within this dir."` |