commit
5d96405633
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
|
@ -1 +1 @@
|
|||
Subproject commit ef0971ede89fd5c45c22779edd0e9eb7a0420869
|
||||
Subproject commit 9fef7a1b762dfd8ad27190ebe31dd3afc784c6fa
|
|
@ -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),
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue