Merge pull request #484 from emqtt/0.17

1.0 - upgrade redis plugin
This commit is contained in:
Feng Lee 2016-03-26 08:58:17 +08:00
commit 5d96405633
4 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

@ -1 +1 @@
Subproject commit ef0971ede89fd5c45c22779edd0e9eb7a0420869
Subproject commit 9fef7a1b762dfd8ad27190ebe31dd3afc784c6fa

View File

@ -139,7 +139,7 @@ handle_cast(Msg, State) ->
handle_info(heartbeat, State) ->
publish(uptime, list_to_binary(uptime(State))),
publish(datetime, list_to_binary(datetime())),
{noreply, State};
{noreply, State, hibernate};
handle_info(tick, State) ->
retain(brokers),

View File

@ -127,7 +127,7 @@ handle_info({monitor, SusPid, busy_dist_port, Port}, State) ->
end, State);
handle_info(reset, State) ->
{noreply, State#state{events = []}};
{noreply, State#state{events = []}, hibernate};
handle_info(Info, State) ->
?UNEXPECTED_INFO(Info, State).