diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-07 16:36:10 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-07 16:36:10 +0000 |
| commit | 833101199e8440028e25303c0085134789816d24 (patch) | |
| tree | 8f67872f50dd75ec6a120b7778125bbd12584ca3 /src | |
| parent | 6047226c7a3b4b9f809c7ee0dfee94095110011c (diff) | |
| download | rabbitmq-server-git-833101199e8440028e25303c0085134789816d24.tar.gz | |
accomodate both forms of nodedown
Diffstat (limited to 'src')
| -rw-r--r-- | src/delegate_sup.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/delegate_sup.erl b/src/delegate_sup.erl index 96515ff4ca..78e8eadc9d 100644 --- a/src/delegate_sup.erl +++ b/src/delegate_sup.erl @@ -48,7 +48,8 @@ count([Node | Nodes]) -> length(supervisor:which_children({?SERVER, Node})) catch exit:{{R, _}, _} when R =:= nodedown; R =:= shutdown -> count(Nodes); - exit:{R, _} when R =:= noproc; R =:= normal; R =:= shutdown -> + exit:{R, _} when R =:= noproc; R =:= normal; R =:= shutdown; + R =:= nodedown -> count(Nodes) end. |
