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

Empire process scale envvar #977

Merged
merged 3 commits into from
Aug 19, 2016
Merged

Empire process scale envvar #977

merged 3 commits into from
Aug 19, 2016

Conversation

0x486F626F
Copy link
Contributor

"EMPIRE_PROCESS": name,
"SOURCE": fmt.Sprintf("%s.%s.v%d", release.App.Name, name, release.Version),
"EMPIRE_PROCESS": name,
"EMPIRE_PROCESS_SCALE": fmt.Sprintf("%d:%d", uint(p.Quantity), uint(p.Memory)),
Copy link
Contributor

Choose a reason for hiding this comment

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

For now, let's just make this the value of p.Quantity:

"EMPIRE_PROCESS_SCALE ": fmt.Sprintf("%d", p.Quantity)

@ejholmes
Copy link
Contributor

Awesome, thanks @hoboZhang!

@ejholmes ejholmes merged commit 2dd5b17 into master Aug 19, 2016
@ejholmes ejholmes deleted the empire_process_scale_envvar branch August 19, 2016 22:36
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