projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448af36
)
Set ttl_interval to the seconds_valid time
author
vaartis
<vaartis@cock.li>
Thu, 27 Dec 2018 07:42:03 +0000
(07:42 +0000)
committer
vaartis
<vaartis@cock.li>
Thu, 27 Dec 2018 07:42:03 +0000
(07:42 +0000)
lib/pleroma/application.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index bdd0ee26f2f22005b430f367359ae42a99a40d82..8dbacf2582b54632a55eac81a9adb6bc5e277870 100644
(file)
--- 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