apps: configure cpuShares
This commit is contained in:
@@ -405,6 +405,7 @@ describe('database', function () {
|
||||
accessRestriction: null,
|
||||
lastBackupId: null,
|
||||
memoryLimit: 4294967296,
|
||||
cpuShares: 1024,
|
||||
sso: true,
|
||||
debugMode: null,
|
||||
reverseProxyConfig: {},
|
||||
@@ -983,6 +984,7 @@ describe('database', function () {
|
||||
health: null,
|
||||
accessRestriction: null,
|
||||
memoryLimit: 4294967296,
|
||||
cpuShares: 256,
|
||||
sso: true,
|
||||
debugMode: null,
|
||||
reverseProxyConfig: {},
|
||||
@@ -1015,6 +1017,7 @@ describe('database', function () {
|
||||
health: null,
|
||||
accessRestriction: { users: [ 'foobar' ] },
|
||||
memoryLimit: 0,
|
||||
cpuShares: 512,
|
||||
sso: true,
|
||||
debugMode: null,
|
||||
reverseProxyConfig: {},
|
||||
@@ -1111,6 +1114,7 @@ describe('database', function () {
|
||||
APP_0.accessRestriction = '';
|
||||
APP_0.httpPort = 1337;
|
||||
APP_0.memoryLimit = 1337;
|
||||
APP_0.cpuShares = 1024;
|
||||
|
||||
var data = {
|
||||
installationState: APP_0.installationState,
|
||||
@@ -1119,7 +1123,8 @@ describe('database', function () {
|
||||
manifest: APP_0.manifest,
|
||||
accessRestriction: APP_0.accessRestriction,
|
||||
httpPort: APP_0.httpPort,
|
||||
memoryLimit: APP_0.memoryLimit
|
||||
memoryLimit: APP_0.memoryLimit,
|
||||
cpuShares: APP_0.cpuShares
|
||||
};
|
||||
|
||||
appdb.update(APP_0.id, data, function (error) {
|
||||
|
||||
Reference in New Issue
Block a user