Merge branch 'fix_486' into 'develop'
[akkoma] / lib / pleroma / application.ex
index cb3e6b69b0c43f3e16ce5bf8ae60635cca21740a..ad27972091e4913e9e3683d8509cfd919b33739e 100644 (file)
@@ -63,6 +63,17 @@ defmodule Pleroma.Application do
           ],
           id: :cachex_object
         ),
+        worker(
+          Cachex,
+          [
+            :rich_media_cache,
+            [
+              default_ttl: :timer.minutes(120),
+              limit: 5000
+            ]
+          ],
+          id: :cachex_rich_media
+        ),
         worker(
           Cachex,
           [