From 6453db580b82d90e025fabe7d3e223a5a3d5ce92 Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Thu, 27 Feb 2025 00:32:41 +0300 Subject: [PATCH] use one lock partition per cache in sessions --- lib/plausible/application.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plausible/application.ex b/lib/plausible/application.ex index 391047e74df2..8f02fac9ce84 100644 --- a/lib/plausible/application.ex +++ b/lib/plausible/application.ex @@ -36,6 +36,7 @@ defmodule Plausible.Application do Plausible.Cache.Adapter.child_specs(:sessions, :cache_sessions, ttl_check_interval: :timer.seconds(10), global_ttl: :timer.minutes(30), + n_lock_partitions: 1, ets_options: [read_concurrency: true, write_concurrency: true] ), warmed_cache(Plausible.Site.Cache,