Up captcha timer to 60 secs again, save used captchas in cachex

This commit is contained in:
Ekaterina Vaartis 2018-12-27 00:12:20 +03:00
commit 448af3601a
3 changed files with 29 additions and 4 deletions

View file

@ -25,6 +25,16 @@ defmodule Pleroma.Application do
supervisor(Pleroma.Repo, []),
worker(Pleroma.Emoji, []),
worker(Pleroma.Captcha, []),
worker(
Cachex,
[
:used_captcha_cache,
[
ttl_interval: :timer.seconds(60 * 2)
]
],
id: :cachex_used_captcha_cache
),
worker(
Cachex,
[