From ae8b7dada03d1f872ca1e5d65084dffbb348baa3 Mon Sep 17 00:00:00 2001 From: Christopher Date: Mon, 9 Mar 2020 09:53:28 -0500 Subject: [PATCH] set ets read concurrency to true --- lib/cluster_kv/db.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cluster_kv/db.ex b/lib/cluster_kv/db.ex index 3d553d9..74391c5 100644 --- a/lib/cluster_kv/db.ex +++ b/lib/cluster_kv/db.ex @@ -4,7 +4,7 @@ defmodule ClusterKV.DB do alias __MODULE__ - @db_options [:set] + @db_options [:set, {:read_concurrency, true}] defstruct [:db, :batch_chunk, :batch_fun, :batch_ref, last_batch: 0, batch: []] -- 2.45.3