From 840d5b65b599d63a260dc9ba4b4b438be11df36c Mon Sep 17 00:00:00 2001 From: Neylix Date: Thu, 30 Jan 2025 11:11:19 +0100 Subject: [PATCH] Add infinity to summary cache adding slot --- lib/archethic/beacon_chain/subset/summary_cache.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/archethic/beacon_chain/subset/summary_cache.ex b/lib/archethic/beacon_chain/subset/summary_cache.ex index b2b97e3b2..96388463d 100644 --- a/lib/archethic/beacon_chain/subset/summary_cache.ex +++ b/lib/archethic/beacon_chain/subset/summary_cache.ex @@ -66,7 +66,7 @@ defmodule Archethic.BeaconChain.Subset.SummaryCache do @spec add_slot(Slot.t(), Crypto.key()) :: :ok def add_slot(slot = %Slot{subset: subset}, node_public_key) do via_tuple = {:via, PartitionSupervisor, {SummaryCacheSupervisor, subset}} - GenServer.call(via_tuple, {:add_slot, slot, node_public_key}) + GenServer.call(via_tuple, {:add_slot, slot, node_public_key}, :infinity) end def handle_call({:add_slot, slot, node_public_key}, _from, state) do