]> Entropealabs - cluster_kv.git/commitdiff
set ets read concurrency to true
authorChristopher <chris@entropealabs.com>
Mon, 9 Mar 2020 14:53:28 +0000 (09:53 -0500)
committerChristopher <chris@entropealabs.com>
Mon, 9 Mar 2020 14:53:28 +0000 (09:53 -0500)
lib/cluster_kv/db.ex

index 3d553d93a9b1dda44ccfe0bb2508d489026149a3..74391c5d6e4beb0715e0956d7eeb68f166ded97b 100644 (file)
@@ -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: []]