diff options
| -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]). |
