Skip to content

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

Increase user_agents cache size to 10k

Uku Taht00d82fd5b15b
diff --git a/lib/plausible/application.ex b/lib/plausible/application.ex
index 460a4c6363..579740b420 100644
--- a/lib/plausible/application.ex
+++ b/lib/plausible/application.ex
@@ -15,7 +15,7 @@ defmodule Plausible.Application do
Plausible.Event.WriteBuffer,
Plausible.Session.WriteBuffer,
ReferrerBlocklist,
- Supervisor.child_spec({Cachex, name: :user_agents, limit: 1000, stats: true},
+ Supervisor.child_spec({Cachex, name: :user_agents, limit: 10_000, stats: true},
id: :cachex_user_agents
),
Supervisor.child_spec({Cachex, name: :sessions, limit: nil, stats: true},