This commit is contained in:
Ery Lee 2015-01-10 16:57:28 +08:00
parent 5f0c0df458
commit ae2c5a4fab
1 changed files with 1 additions and 1 deletions

View File

@ -359,5 +359,5 @@ send_will_msg(#proto_state{will_msg = WillMsg }) ->
start_keepalive(0) -> ignore;
start_keepalive(Sec) when Sec > 0 ->
self() ! {keepalive, start, Sec * 1.5}.
self() ! {keepalive, start, round(Sec * 1.5)}.