Add Signed Fetch Statistics (#312)
[akkoma] / lib / pleroma / application.ex
index b9bcad40cfaffdca23e224638bb55b94f9ffd68e..ec8839e0f18cde8abbdc6556e269330ca4dad97e 100644 (file)
@@ -157,7 +157,8 @@ defmodule Pleroma.Application do
       build_cachex("failed_proxy_url", limit: 2500),
       build_cachex("banned_urls", default_ttl: :timer.hours(24 * 30), limit: 5_000),
       build_cachex("translations", default_ttl: :timer.hours(24 * 30), limit: 2500),
-      build_cachex("instances", default_ttl: :timer.hours(24), ttl_interval: 1000, limit: 2500)
+      build_cachex("instances", default_ttl: :timer.hours(24), ttl_interval: 1000, limit: 2500),
+      build_cachex("request_signatures", default_ttl: :timer.hours(24 * 30), limit: 3000)
     ]
   end