Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Increase sessions and user agents cache ttl checks (#5062)
Uku Taht70bfc9ef66c6
diff --git a/lib/plausible/application.ex b/lib/plausible/application.exindex abd60bfc4a..8a689fee22 100644--- a/lib/plausible/application.ex+++ b/lib/plausible/application.ex@@ -28,11 +28,11 @@ defmodule Plausible.Application doglobal_ttl: :timer.minutes(60)),Plausible.Cache.Adapter.child_spec(:user_agents, :cache_user_agents,- ttl_check_interval: :timer.seconds(5),+ ttl_check_interval: :timer.minutes(5),global_ttl: :timer.minutes(60)),Plausible.Cache.Adapter.child_spec(:sessions, :cache_sessions,- ttl_check_interval: :timer.seconds(1),+ ttl_check_interval: :timer.minutes(5),global_ttl: :timer.minutes(30)),warmed_cache(Plausible.Site.Cache,