Make cache bigger and longer lived.
authorRoger Braun <roger@rogerbraun.net>
Sun, 30 Apr 2017 08:06:57 +0000 (10:06 +0200)
committerRoger Braun <roger@rogerbraun.net>
Sun, 30 Apr 2017 08:06:57 +0000 (10:06 +0200)
lib/pleroma/application.ex

index 86b6c0c1ea59ca953d2a6e18e248f165273dacaa..6267d0695b59ce9b5b59ed5941f09c7addf2fa82 100644 (file)
@@ -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
                        ]])
     ]