diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2017-05-02 19:22:01 +0200 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2017-05-02 19:22:01 +0200 |
| commit | 02bb2e2fa93a8c272da76f5e18449aec8959f05b (patch) | |
| tree | fa8dbca995eec7de5243abdba17310a40c54a8cc | |
| parent | bda6b290c60910f9a1b6106aaedb80a372ca3208 (diff) | |
| download | rabbitmq-server-git-02bb2e2fa93a8c272da76f5e18449aec8959f05b.tar.gz | |
Compile
| -rw-r--r-- | src/rabbit_peer_discovery.erl | 3 | ||||
| -rw-r--r-- | src/rabbit_peer_discovery_classic_config.erl | 3 | ||||
| -rw-r--r-- | src/rabbit_peer_discovery_dns.erl | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/rabbit_peer_discovery.erl b/src/rabbit_peer_discovery.erl index 52eac1c14e..ac254104f7 100644 --- a/src/rabbit_peer_discovery.erl +++ b/src/rabbit_peer_discovery.erl @@ -83,7 +83,8 @@ maybe_register() -> Backend = backend(), case Backend:supports_registration() of true -> - register(); + register(), + Backend:post_registration(); false -> rabbit_log:info("Peer discovery backend ~s does not support registration, skipping registration.", [Backend]), ok diff --git a/src/rabbit_peer_discovery_classic_config.erl b/src/rabbit_peer_discovery_classic_config.erl index eece4f7e15..da5fb6c971 100644 --- a/src/rabbit_peer_discovery_classic_config.erl +++ b/src/rabbit_peer_discovery_classic_config.erl @@ -19,7 +19,8 @@ -include("rabbit.hrl"). --export([list_nodes/0, supports_registration/0, register/0, unregister/0]). +-export([list_nodes/0, supports_registration/0, register/0, unregister/0, + post_registration/0]). %% %% API diff --git a/src/rabbit_peer_discovery_dns.erl b/src/rabbit_peer_discovery_dns.erl index 2a317b3597..e4215cd048 100644 --- a/src/rabbit_peer_discovery_dns.erl +++ b/src/rabbit_peer_discovery_dns.erl @@ -19,7 +19,8 @@ -include("rabbit.hrl"). --export([list_nodes/0, supports_registration/0, register/0, unregister/0]). +-export([list_nodes/0, supports_registration/0, register/0, unregister/0, + post_registration/0]). %% for tests -export([discover_nodes/2, discover_hostnames/2]). |
