diff options
| author | Diana Corbacho <diana@rabbitmq.com> | 2017-04-19 14:10:44 +0100 |
|---|---|---|
| committer | Diana Corbacho <diana@rabbitmq.com> | 2017-04-21 11:29:08 +0100 |
| commit | d8c66d10c495a9119a114f80a38b144a00f2b325 (patch) | |
| tree | be94f7777eda8ee9965b1ab62ae7b3dd8a7774d3 /src | |
| parent | 9bb3636e654e693a24183ab6eaeb0698c1b62a13 (diff) | |
| download | rabbitmq-server-git-d8c66d10c495a9119a114f80a38b144a00f2b325.tar.gz | |
Make rabbit_vhost_sup permanent so it can be restarted once without
bringing down the whole supervision tree and rabbit app
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_vhost_sup_wrapper.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_vhost_sup_wrapper.erl b/src/rabbit_vhost_sup_wrapper.erl index f287436447..19f01003f4 100644 --- a/src/rabbit_vhost_sup_wrapper.erl +++ b/src/rabbit_vhost_sup_wrapper.erl @@ -36,7 +36,7 @@ init([VHost]) -> {ok, {{one_for_all, 1, 10000000}, [{rabbit_vhost_sup, {rabbit_vhost_sup_wrapper, start_vhost_sup, [VHost]}, - intrinsic, infinity, supervisor, + permanent, infinity, supervisor, [rabbit_vhost_sup]}]}}. start_vhost_sup(VHost) -> @@ -49,4 +49,4 @@ start_vhost_sup(VHost) -> {ok, Pid}; Other -> Other - end.
\ No newline at end of file + end. |
