projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc604a
)
Make cache bigger and longer lived.
author
Roger Braun
<roger@rogerbraun.net>
Sun, 30 Apr 2017 08:06:57 +0000
(10:06 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Sun, 30 Apr 2017 08:06:57 +0000
(10:06 +0200)
lib/pleroma/application.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index 86b6c0c1ea59ca953d2a6e18e248f165273dacaa..6267d0695b59ce9b5b59ed5941f09c7addf2fa82 100644
(file)
--- a/
lib/pleroma/application.ex
+++ b/
lib/pleroma/application.ex
@@
-15,9
+15,9
@@
defmodule Pleroma.Application do
# Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3)
# worker(Pleroma.Worker, [arg1, arg2, arg3]),
worker(Cachex, [:user_cache, [
- default_ttl: 5000,
+ default_ttl:
2
5000,
ttl_interval: 1000,
- limit: 500
+ limit:
2
500
]])
]