Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1896 from helium/adt/ecc-issues
Browse files Browse the repository at this point in the history
Provide a more generous gwrs timeout and disable erlang grpc client
  • Loading branch information
madninja authored Feb 7, 2023
2 parents 57884fd + fb279fe commit 6739b56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/miner_gateway_port.erl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
-define(CONNECT_RETRY_WAIT, 100).
-define(CONNECT_ATTEMPTS, 5).
-define(HEALTHCHECK_INTERVAL, 600000).
-define(HEALTHCHECK_TIMEOUT, 4000).
-define(HEALTHCHECK_TIMEOUT, 60000).

start_link(Options) when is_list(Options) ->
gen_server:start_link({local, ?MODULE}, ?MODULE, [Options], []).
Expand Down
2 changes: 1 addition & 1 deletion src/miner_lora_light.erl
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ handle_info(init, State = #state{radio_udp_bind_ip = UDPIP, radio_udp_bind_port
application:set_env(blockchain, sc_client_handler, miner_lora_light), %% downlink packets from state channels go here
application:set_env(miner, lora_mod, miner_lora_light),
application:set_env(miner, onion_server_mod, miner_onion_server_light),
application:set_env(miner, enable_grpc_client, true),
application:set_env(miner, enable_grpc_client, false),
{ok, Socket, MirrorSocket} = open_socket(UDPIP, UDPPort),
erlang:send_after(500, self(), reg_domain_timeout),
{noreply, State#state{socket=Socket, mirror_socket = {MirrorSocket, undefined}}};
Expand Down

0 comments on commit 6739b56

Please sign in to comment.