Change the type of 'mqtt.bridge.ping_down_interval' to ms duration

This commit is contained in:
Feng Lee 2018-01-04 16:09:45 +08:00
parent 86fc80b983
commit fdc55de509
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ parse_opts([{topic_prefix, Prefix} | Opts], State) ->
parse_opts([{max_queue_len, Len} | Opts], State) ->
parse_opts(Opts, State#state{max_queue_len = Len});
parse_opts([{ping_down_interval, Interval} | Opts], State) ->
parse_opts(Opts, State#state{ping_down_interval = Interval*1000});
parse_opts(Opts, State#state{ping_down_interval = Interval});
parse_opts([_Opt | Opts], State) ->
parse_opts(Opts, State).