Skip to content

Commit

Permalink
Add workaround to create resident tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Hinrichsen committed Mar 2, 2016
1 parent b905e9f commit 1a36467
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/js/actions/AppsActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ var AppsActions = {
});
},
createApp: function (newAppAttributes) {
if (newAppAttributes.container != null &&
newAppAttributes.container.volumes != null) {
newAppAttributes.residency = {
relaunchEscalationTimeoutSeconds: 10,
taskLostBehavior: "WAIT_FOREVER"
};
}
this.request({
method: "POST",
data: newAppAttributes,
Expand Down

0 comments on commit 1a36467

Please sign in to comment.