Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit b361242

Browse files
Introduce a post_registration/0 callback for peer discovery backends
Meant to be used for tasks that should be done after we've successfully registered, e.g. setting up periodic operations such as health checks.
1 parent 9f79d32 commit b361242

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rabbit_peer_discovery_backend.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@
4343
-callback register() -> ok | {error, Reason :: string()}.
4444

4545
-callback unregister() -> ok | {error, Reason :: string()}.
46+
47+
-callback post_registration() -> ok | {error, Reason :: string()}.

0 commit comments

Comments
 (0)