|
69 | 69 | -export([init/1, terminate/2, code_change/3, handle_call/3, handle_cast/2, |
70 | 70 | handle_info/2, handle_pre_hibernate/1, prioritise_call/4, |
71 | 71 | prioritise_cast/3, prioritise_info/3, format_message_queue/2]). |
| 72 | + handle_info/2, handle_pre_hibernate/1, handle_post_hibernate/1, |
| 73 | + prioritise_call/4, prioritise_cast/3, prioritise_info/3, |
| 74 | + format_message_queue/2]). |
| 75 | + |
72 | 76 | %% Internal |
73 | 77 | -export([list_local/0, emit_info_local/3, deliver_reply_local/3]). |
74 | 78 | -export([get_vhost/1, get_user/1]). |
@@ -415,6 +419,14 @@ refresh_interceptors() -> |
415 | 419 | ready_for_close(Pid) -> |
416 | 420 | rabbit_channel_common:ready_for_close(Pid). |
417 | 421 |
|
| 422 | +<<<<<<< HEAD |
| 423 | +======= |
| 424 | +-spec force_event_refresh(reference()) -> 'ok'. |
| 425 | + |
| 426 | +% Note: https://www.pivotaltracker.com/story/show/166962656 |
| 427 | +% This event is necessary for the stats timer to be initialized with |
| 428 | +% the correct values once the management agent has started |
| 429 | +>>>>>>> c93c3cc14... Merge pull request #2049 from rabbitmq/pt-166962656-stats-failure-38-lre |
418 | 430 | force_event_refresh(Ref) -> |
419 | 431 | [gen_server2:cast(C, {force_event_refresh, Ref}) || C <- list()], |
420 | 432 | ok. |
@@ -650,6 +662,9 @@ handle_cast({send_drained, CTagCredit}, State = #ch{writer_pid = WriterPid}) -> |
650 | 662 | || {ConsumerTag, CreditDrained} <- CTagCredit], |
651 | 663 | noreply(State); |
652 | 664 |
|
| 665 | +% Note: https://www.pivotaltracker.com/story/show/166962656 |
| 666 | +% This event is necessary for the stats timer to be initialized with |
| 667 | +% the correct values once the management agent has started |
653 | 668 | handle_cast({force_event_refresh, Ref}, State) -> |
654 | 669 | rabbit_event:notify(channel_created, infos(?CREATION_EVENT_KEYS, State), |
655 | 670 | Ref), |
|
0 commit comments