Set ttl_interval to the seconds_valid time
This commit is contained in:
parent
448af3601a
commit
708a228919
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def start(_type, _args) 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
|
||||
|
|
Loading…
Reference in a new issue