mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Make cache bigger and longer lived.
This commit is contained in:
parent
ffc604a2c2
commit
11ea08649d
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ defmodule Pleroma.Application do
|
||||||
# Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3)
|
# Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3)
|
||||||
# worker(Pleroma.Worker, [arg1, arg2, arg3]),
|
# worker(Pleroma.Worker, [arg1, arg2, arg3]),
|
||||||
worker(Cachex, [:user_cache, [
|
worker(Cachex, [:user_cache, [
|
||||||
default_ttl: 5000,
|
default_ttl: 25000,
|
||||||
ttl_interval: 1000,
|
ttl_interval: 1000,
|
||||||
limit: 500
|
limit: 2500
|
||||||
]])
|
]])
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue