diff --git a/lib/lambda_ethereum_consensus/p2p/requests.ex b/lib/lambda_ethereum_consensus/p2p/requests.ex index 22ebfedb9..4e3138eb9 100644 --- a/lib/lambda_ethereum_consensus/p2p/requests.ex +++ b/lib/lambda_ethereum_consensus/p2p/requests.ex @@ -3,7 +3,6 @@ defmodule LambdaEthereumConsensus.P2p.Requests do Uses uuids to identify requests and their handlers. Saves the handler in the struct until a response is available and then handles appropriately. """ - @type id :: binary @type handler :: (term() -> term()) @type requests :: %{id => handler} diff --git a/lib/libp2p_port.ex b/lib/libp2p_port.ex index 910862bb5..3019273a6 100644 --- a/lib/libp2p_port.ex +++ b/lib/libp2p_port.ex @@ -77,7 +77,7 @@ defmodule LambdaEthereumConsensus.Libp2pPort do discovery_addresses: [String.t()] } - @sync_delay_millis 20_000 + @sync_delay_millis 10_000 ###################### ### API