From: Roger Braun Date: Sun, 30 Apr 2017 08:06:57 +0000 (+0200) Subject: Make cache bigger and longer lived. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=11ea08649d5a5e5d2ac9ee29406f53240be77ec4;p=akkoma Make cache bigger and longer lived. --- diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index 86b6c0c1e..6267d0695 100644 --- 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: 25000, ttl_interval: 1000, - limit: 500 + limit: 2500 ]]) ]