diff options
author | Ekaterina Vaartis <vaartis@cock.li> | 2019-09-19 00:21:16 +0300 |
---|---|---|
committer | Ekaterina Vaartis <vaartis@cock.li> | 2019-09-19 00:23:18 +0300 |
commit | 3e972c0456a6f556bd1ee9118116f347d774df61 (patch) | |
tree | dd4c34f3d82ecba2a99da6fb8d04013afb818f43 | |
parent | b585134c9092b49e7b5c24e04d6d6315d45dd0a2 (diff) | |
download | pleroma-3e972c0456a6f556bd1ee9118116f347d774df61.tar.gz |
Add :shared_pack_cache_seconds_per_file to description.exs
-rw-r--r-- | config/description.exs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 65ea6bf01..5dc8dc364 100644 --- a/config/description.exs +++ b/config/description.exs @@ -2256,6 +2256,14 @@ config :pleroma, :config_description, [ "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)", 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] } ] }, |