Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Adjust sessions cache TTL check interval down to 10s (#5070)

Adrian Gruntkowski68268c5f986e
diff --git a/lib/plausible/application.ex b/lib/plausible/application.ex
index 9d17c390ba..e8a504b1a3 100644
--- a/lib/plausible/application.ex
+++ b/lib/plausible/application.ex
@@ -32,7 +32,7 @@ defmodule Plausible.Application do
global_ttl: :timer.minutes(60)
),
Plausible.Cache.Adapter.child_spec(:sessions, :cache_sessions,
- ttl_check_interval: :timer.seconds(60),
+ ttl_check_interval: :timer.seconds(10),
global_ttl: :timer.minutes(30)
),
warmed_cache(Plausible.Site.Cache,