diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-05-31 14:55:48 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-05-31 14:55:48 +0100 |
commit | 0b9fe40947ed8a671f0210facad94f25e9544055 (patch) | |
tree | 1bdef444bffd4cee4e294fcc6fbcabda01b90ec7 /src/rabbit_plugins.erl | |
parent | dc26293584e7fa45d86c44858b2c400cfb9d68fb (diff) | |
download | rabbitmq-server-0b9fe40947ed8a671f0210facad94f25e9544055.tar.gz |
graceful handling of application:which_applications() timeoutbug25571
Diffstat (limited to 'src/rabbit_plugins.erl')
-rw-r--r-- | src/rabbit_plugins.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl index 58c906eb..6f6515b0 100644 --- a/src/rabbit_plugins.erl +++ b/src/rabbit_plugins.erl @@ -47,7 +47,7 @@ setup() -> active() -> {ok, ExpandDir} = application:get_env(rabbit, plugins_expand_dir), InstalledPlugins = [ P#plugin.name || P <- list(ExpandDir) ], - [App || {App, _, _} <- application:which_applications(), + [App || {App, _, _} <- rabbit_misc:which_applications(), lists:member(App, InstalledPlugins)]. %% @doc Get the list of plugins which are ready to be enabled. |