Fix heartbeat interval

This commit is contained in:
terry-xiaoyu 2019-07-20 16:20:53 +08:00 committed by Shawn
parent bffca305c1
commit 43cf0fbab4
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ sys_interval() ->
%% @doc Get sys heatbeat interval %% @doc Get sys heatbeat interval
-spec(sys_heatbeat_interval() -> pos_integer()). -spec(sys_heatbeat_interval() -> pos_integer()).
sys_heatbeat_interval() -> sys_heatbeat_interval() ->
application:get_env(?APP, sys_heartbeat, 30000). application:get_env(?APP, broker_sys_heartbeat, 30000).
%% @doc Get sys info %% @doc Get sys info
-spec(info() -> list(tuple())). -spec(info() -> list(tuple())).