Apps must only get 50% less cpu than system processes when there is a contention for cpu

This commit is contained in:
Girish Ramakrishnan
2015-08-11 16:59:35 -07:00
parent 18feff1bfb
commit c125cc17dc
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -204,7 +204,8 @@ function createContainer(app, callback) {
Volumes: {},
VolumesFrom: [],
Env: env.concat(addonEnv),
ExposedPorts: exposedPorts
ExposedPorts: exposedPorts,
CpuShares: 512 // relative to 1024 for system processes
};
debugApp(app, 'Creating container for %s', app.manifest.dockerImage);