Up captcha timer to 60 secs again, save used captchas in cachex
This commit is contained in:
parent
d112990776
commit
448af3601a
3 changed files with 29 additions and 4 deletions
|
|
@ -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,
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue