Skip to content

Commit

Permalink
Add infinity to summary cache adding slot
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed Jan 30, 2025
1 parent 4ed4292 commit 840d5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/archethic/beacon_chain/subset/summary_cache.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 840d5b6

Please sign in to comment.