Add :shared_pack_cache_seconds_per_file to description.exs

This commit is contained in:
Ekaterina Vaartis 2019-09-19 00:21:16 +03:00
parent b585134c90
commit 3e972c0456

View File

@ -2256,6 +2256,14 @@ config :pleroma, :config_description, [
"Location of the JSON-manifest. This manifest contains information about the emoji-packs you can download." <> "Location of the JSON-manifest. This manifest contains information about the emoji-packs you can download." <>
" Currently only one manifest can be added (no arrays)", " Currently only one manifest can be added (no arrays)",
suggestions: ["https://git.pleroma.social/pleroma/emoji-index/raw/master/index.json"] suggestions: ["https://git.pleroma.social/pleroma/emoji-index/raw/master/index.json"]
},
%{
key: :shared_pack_cache_seconds_per_file,
type: :integer,
descpiption:
"When an emoji pack is shared, the archive is created and cached in memory" <>
" for this amount of seconds multiplied by the number of files.",
suggestions: [60]
} }
] ]
}, },