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

renaming master/slave to parent/child #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

glaslos
Copy link

@glaslos glaslos commented Jun 21, 2020

No description provided.

envSlaveID = "OVERSEER_SLAVE_ID"
envIsSlave = "OVERSEER_IS_SLAVE"
envChildID = "OVERSEER_CHILD_ID"
envIsChild = "OVERSEER_IS_CHILD"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this change is the only one that will cause issues - this variable is used between both processes, so if a user updates their app with the latest overseer, the newly created child process will have the old variables set (by the old parent process), breaking the app

i think the least risky thing to do is just keep these 2 strings... the alternative is to come up with a transition version, which supports both old/new variable names

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense... But if you make that argument you could never change it as there could always be someone with an old version.
I assume you don't want to do a v2 release just for this?
I'd change it with a transition approach if you decide that to be the right way.

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.

None yet

2 participants