diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-07-04 13:23:30 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-07-04 13:23:30 +0100 |
commit | 0662dbc76858a18b117ae282800d88651d55ecea (patch) | |
tree | 42104568045399a8057c3cb484e8361a68b882cd /src/rabbit_upgrade_functions.erl | |
parent | 120c1a8781664d59d2add7c2a092e02a5cb5bfcb (diff) | |
download | rabbitmq-server-0662dbc76858a18b117ae282800d88651d55ecea.tar.gz |
Use two supervisors (an overall one and the delegate underneath it) so that our behaviour is not affected by the users's choice of restart strategy.
Diffstat (limited to 'src/rabbit_upgrade_functions.erl')
-rw-r--r-- | src/rabbit_upgrade_functions.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_upgrade_functions.erl b/src/rabbit_upgrade_functions.erl index 15887af1..797e9fb9 100644 --- a/src/rabbit_upgrade_functions.erl +++ b/src/rabbit_upgrade_functions.erl @@ -157,8 +157,9 @@ gm() -> {attributes, [name, version, members]}]). mirrored_supervisor() -> - create(mirrored_sup_childspec, [{record_name, mirrored_sup_childspec}, - {attributes, [id, sup_pid, childspec]}]). + create(mirrored_sup_childspec, + [{record_name, mirrored_sup_childspec}, + {attributes, [id, mirroring_pid, childspec]}]). %%-------------------------------------------------------------------- |