From: Ekaterina Vaartis <vaartis@cock.li>
Date: Wed, 18 Sep 2019 21:21:16 +0000 (+0300)
Subject: Add :shared_pack_cache_seconds_per_file to description.exs
X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=3e972c0456a6f556bd1ee9118116f347d774df61;p=akkoma

Add :shared_pack_cache_seconds_per_file to description.exs
---

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]
       }
     ]
   },