diff options
Diffstat (limited to 'src/rabbit_backing_queue.erl')
-rw-r--r-- | src/rabbit_backing_queue.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_backing_queue.erl b/src/rabbit_backing_queue.erl index 293b5655..addaabc5 100644 --- a/src/rabbit_backing_queue.erl +++ b/src/rabbit_backing_queue.erl @@ -149,7 +149,7 @@ behaviour_info(callbacks) -> %% queue. {ram_duration, 1}, - %% Should 'idle_timeout' be called as soon as the queue process + %% Should 'timeout' be called as soon as the queue process %% can manage (either on an empty mailbox, or when a timer %% fires)? {needs_timeout, 1}, @@ -157,7 +157,7 @@ behaviour_info(callbacks) -> %% Called (eventually) after needs_timeout returns 'idle' or %% 'timed'. Note this may be called more than once for each %% 'idle' or 'timed' returned from needs_timeout. - {idle_timeout, 1}, + {timeout, 1}, %% Called immediately before the queue hibernates. {handle_pre_hibernate, 1}, |