Add a default thumbnailer timeout config

This commit is contained in:
James Mills 2020-03-26 15:41:20 +10:00
parent 99c4ee9e19
commit e6d35fd8c6
No known key found for this signature in database
GPG key ID: AC4C014F1440EBD6

View file

@ -65,6 +65,9 @@ func DefaultConfig() *Config {
Port: 0, Port: 0,
UploadPath: "uploads", UploadPath: "uploads",
}, },
Thumbnailer: &ThumbnailerConfig{
Timeout: 30,
},
Transcoder: &TranscoderConfig{ Transcoder: &TranscoderConfig{
Timeout: 60, Timeout: 60,
}, },