Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced :slave with :peer. #28

Closed

Conversation

alfetahe
Copy link

The old :slave module is deprecated and will be removed from OTP 27. I replaced the :slave module with the :peer module.
I fixed the tests. This change is not backward compatible because the :peer module starts {:ok, pid, peer} where pid is used to shutdown the peer nodes and peer is used as the node name. Meaning the start_nodes/3 function should also include the pid from now on.

@whitfin whitfin changed the base branch from master to main December 29, 2023 20:16
@whitfin
Copy link
Owner

whitfin commented Dec 29, 2023

@alfetahe this looks good; is it possible for us to tweak the signatures to support both :slave and :peer and dispatch dynamically based on OTP version? I don't want to enforce OTP 25+ for this lib just yet.

@whitfin
Copy link
Owner

whitfin commented Aug 25, 2024

This is being superseded by #30. Thank you for your time spent here!

@whitfin whitfin closed this Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants