fixeria has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37266?usp=email )
Change subject: sctp_proxy: reduce 'connecting' state timeout: 2000s -> 2s ......................................................................
sctp_proxy: reduce 'connecting' state timeout: 2000s -> 2s
2000 seconds is waay too much.
Change-Id: I79b04c0bc087d598b3e322fd697508ac840402d5 --- M src/sctp_proxy.erl 1 file changed, 12 insertions(+), 1 deletion(-)
Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/sctp_proxy.erl b/src/sctp_proxy.erl index 82c697c..350f655 100644 --- a/src/sctp_proxy.erl +++ b/src/sctp_proxy.erl @@ -88,7 +88,7 @@ %% Initiate connection establishment with the MME {ok, Sock} = sctp_client:connect(MmeAddr, MmePort), {next_state, connecting, S#{sock => Sock}, - [{state_timeout, 2_000_000, conn_est_timeout}]}; + [{state_timeout, 2_000, conn_est_timeout}]};
%% Handle connection establishment timeout connecting(state_timeout, conn_est_timeout, _S) ->