Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
11ea0864
Commit
11ea0864
authored
Apr 30, 2017
by
lain
Browse files
Make cache bigger and longer lived.
parent
ffc604a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/application.ex
View file @
11ea0864
...
...
@@ -15,9 +15,9 @@ def start(_type, _args) 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
]])
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment