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
Tweak remaining cache ets options (#5081)
hq19312087fc8f5
diff --git a/lib/plausible/application.ex b/lib/plausible/application.exindex bad2d85301..8e662545b6 100644--- a/lib/plausible/application.ex+++ b/lib/plausible/application.ex@@ -29,7 +29,8 @@ defmodule Plausible.Application do),Plausible.Cache.Adapter.child_spec(:user_agents, :cache_user_agents,ttl_check_interval: :timer.minutes(5),- global_ttl: :timer.minutes(60)+ global_ttl: :timer.minutes(60),+ ets_options: [read_concurrency: true, write_concurrency: true]),Plausible.Cache.Adapter.child_specs(:sessions, :cache_sessions,ttl_check_interval: :timer.seconds(10),@@ -37,7 +38,7 @@ defmodule Plausible.Application doets_options: [read_concurrency: true, write_concurrency: true]),warmed_cache(Plausible.Site.Cache,- adapter_opts: [ttl_check_interval: false],+ adapter_opts: [ttl_check_interval: false, ets_options: [read_concurrency: true]],warmers: [refresh_all:{Plausible.Site.Cache.All,@@ -47,7 +48,7 @@ defmodule Plausible.Application do]),warmed_cache(Plausible.Shield.IPRuleCache,- adapter_opts: [ttl_check_interval: false],+ adapter_opts: [ttl_check_interval: false, ets_options: [read_concurrency: true]],warmers: [refresh_all:{Plausible.Shield.IPRuleCache.All,@@ -57,7 +58,7 @@ defmodule Plausible.Application do]),warmed_cache(Plausible.Shield.CountryRuleCache,- adapter_opts: [ttl_check_interval: false],+ adapter_opts: [ttl_check_interval: false, ets_options: [read_concurrency: true]],warmers: [refresh_all:{Plausible.Shield.CountryRuleCache.All,@@ -67,7 +68,7 @@ defmodule Plausible.Application do]),warmed_cache(Plausible.Shield.PageRuleCache,- adapter_opts: [ttl_check_interval: false, ets_options: [:bag]],+ adapter_opts: [ttl_check_interval: false, ets_options: [:bag, read_concurrency: true]],warmers: [refresh_all:{Plausible.Shield.PageRuleCache.All,@@ -77,7 +78,7 @@ defmodule Plausible.Application do]),warmed_cache(Plausible.Shield.HostnameRuleCache,- adapter_opts: [ttl_check_interval: false, ets_options: [:bag]],+ adapter_opts: [ttl_check_interval: false, ets_options: [:bag, read_concurrency: true]],warmers: [refresh_all:{Plausible.Shield.HostnameRuleCache.All,@@ -88,7 +89,7 @@ defmodule Plausible.Application do),on_ee dowarmed_cache(Plausible.Stats.SamplingCache,- adapter_opts: [ttl_check_interval: false],+ adapter_opts: [ttl_check_interval: false, read_concurrency: true],warmers: [refresh_all:{Plausible.Stats.SamplingCache.All,