Pad RichMediaWorker timeout to be 2s longer than the Rich Media HTTP timeout

This commit is contained in:
Mark Felder 2024-07-24 15:42:50 -04:00
commit 731f7b87d2
3 changed files with 14 additions and 3 deletions

View file

@ -448,7 +448,7 @@ config :pleroma, :rich_media,
Pleroma.Web.RichMedia.Parsers.TwitterCard,
Pleroma.Web.RichMedia.Parsers.OEmbed
],
failure_backoff: 60_000,
timeout: 5_000,
ttl_setters: [
Pleroma.Web.RichMedia.Parser.TTL.AwsSignedUrl,
Pleroma.Web.RichMedia.Parser.TTL.Opengraph