From: vaartis Date: Thu, 27 Dec 2018 07:42:03 +0000 (+0000) Subject: Set ttl_interval to the seconds_valid time X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=708a22891921d54c9c716ac250e75ae6a889eb7b;p=akkoma Set ttl_interval to the seconds_valid time --- diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index bdd0ee26f..8dbacf258 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -30,7 +30,7 @@ defmodule Pleroma.Application do [ :used_captcha_cache, [ - ttl_interval: :timer.seconds(60 * 2) + ttl_interval: :timer.seconds(Pleroma.Config.get!([Pleroma.Captcha, :seconds_valid])) ] ], id: :cachex_used_captcha_cache