diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-12-19 16:27:30 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-12-19 16:27:30 +0000 |
| commit | 97d6bd33c0c4b4c6946eacb0aff518c3dec001d4 (patch) | |
| tree | 00c9dfdfaee166825fb51af2ae26ac8e7b3c4b2d /src | |
| parent | 72d55a5e0fbe50f279b1230b68967289d14b96b1 (diff) | |
| download | rabbitmq-server-git-97d6bd33c0c4b4c6946eacb0aff518c3dec001d4.tar.gz | |
Any exit signal arriving at the amqqueue_process should result in the process stopping and calling terminate
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_amqqueue_process.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index d4d9611a43..7fe89af61e 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -920,6 +920,9 @@ handle_info({file_handle_cache, maximum_eldest_since_use, Age}, State) -> ok = file_handle_cache:set_maximum_since_use(Age), noreply(State); +handle_info({'EXIT', _Pid, Reason}, State) -> + {stop, Reason, State}; + handle_info(Info, State) -> ?LOGDEBUG("Info in queue: ~p~n", [Info]), {stop, {unhandled_info, Info}, State}. |
