Add :shared_pack_cache_seconds_per_file to description.exs
authorEkaterina Vaartis <vaartis@cock.li>
Wed, 18 Sep 2019 21:21:16 +0000 (00:21 +0300)
committerEkaterina Vaartis <vaartis@cock.li>
Wed, 18 Sep 2019 21:23:18 +0000 (00:23 +0300)
config/description.exs

index 65ea6bf01720a213a8155b6782438204116bca9a..5dc8dc36466c187f7815c8c0f5be95bd376fbc30 100644 (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." <>
             " 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]
       }
     ]
   },