fixeria submitted this change.
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(-)
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) ->
To view, visit change 37266. To unsubscribe, or for help writing mail filters, visit settings.