Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Scheduling requirements are back to bundle.conf #19

Merged
merged 1 commit into from
Mar 2, 2015

Conversation

huntc
Copy link

@huntc huntc commented Mar 2, 2015

The scheduling requirements are now back to bundle.conf as they are a developer concern, not an operator's. In addition the memory declaration is applied to a bundle component's mx and mm parameters, otherwise sbt-native-packager will insist that these values should be 1GB. 1GB is excessive for running lots of small things on ConductR.

Also updated to the latest sbt-native-packager (1.0.0-RC1).

The scheduling requirements are now back to bundle.conf as they are a developer concern, not an operator's. In addition the memory declaration is applied to a bundle component's mx and mm parameters, otherwise sbt-native-packager will insist that these values should be 1GB. 1GB is excessive for running lots of small things on ConductR.
@huntc huntc force-pushed the internalise-scheduling branch from 57e62ef to 2e46f46 Compare March 2, 2015 03:20
@hseeberger
Copy link
Member

LGTM

hseeberger added a commit that referenced this pull request Mar 2, 2015
Scheduling requirements are back to bundle.conf
@hseeberger hseeberger merged commit fb4378b into sbt:master Mar 2, 2015
components = {
"angular-seed-play-1.0-SNAPSHOT" = {
description = "angular-seed-play"
file-system-type = "universal"
start-command = ["angular-seed-play-1.0-SNAPSHOT/bin/angular-seed-play"]
start-command = ["angular-seed-play-1.0-SNAPSHOT/bin/angular-seed-play", "-Xmm=67108864", "-Xmx=67108864"]
Copy link
Member

Choose a reason for hiding this comment

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

I am hoping memory settings can be managed by sbt-native-manager when sbt/sbt-native-packager#510 gets merged.

@2m
Copy link
Member

2m commented Mar 2, 2015

LGTM

@muuki88
Copy link

muuki88 commented Mar 2, 2015

I'm working on the default settings. First step was to be able to specify the javaOptions via build.sbt . next will be the removal of our defaults.

@huntc
Copy link
Author

huntc commented Mar 2, 2015

Thanks @muuki88 !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants