From 111e20c361464c7ba1e6251d996158e7e3f90791 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sat, 7 Mar 2020 23:15:27 -0600 Subject: [PATCH] don't wait for quorum to accept batch requests --- lib/cluster_kv/ring.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cluster_kv/ring.ex b/lib/cluster_kv/ring.ex index 92f7bc3..d66db48 100644 --- a/lib/cluster_kv/ring.ex +++ b/lib/cluster_kv/ring.ex @@ -296,7 +296,7 @@ defmodule ClusterKV.Ring do {:ok, %SL{sl | data: %Ring{data | ring: ring}}, [{:next_event, :internal, :node_down}]} end - def handle_info({:handle_batch, batch}, @ready, %SL{data: %Ring{db: db}} = sl) do + def handle_info({:handle_batch, batch}, _, %SL{data: %Ring{db: db}} = sl) do Logger.info("Handling Batch") DB.batch(db, batch) {:ok, sl, []} -- 2.45.3