Issue #460 - Timer Tick at interval of (Keepalive * 1.5)/2
This commit is contained in:
parent
616b6df020
commit
cf4dfe632f
|
@ -307,7 +307,7 @@ send_willmsg(ClientId, WillMsg) ->
|
||||||
start_keepalive(0) -> ignore;
|
start_keepalive(0) -> ignore;
|
||||||
|
|
||||||
start_keepalive(Sec) when Sec > 0 ->
|
start_keepalive(Sec) when Sec > 0 ->
|
||||||
self() ! {keepalive, start, round(Sec * 1.2)}.
|
self() ! {keepalive, start, round(Sec * 0.75)}.
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%% Validate Packets
|
%% Validate Packets
|
||||||
|
|
Loading…
Reference in New Issue