only scale back containers on infra change

This commit is contained in:
Girish Ramakrishnan
2020-09-02 18:13:08 -07:00
parent 71beca68dc
commit 316a1ae2c5
2 changed files with 11 additions and 11 deletions
-2
View File
@@ -800,8 +800,6 @@ function exportDatabase(addon, callback) {
function updateServiceConfig(platformConfig, callback) {
callback = callback || NOOP_CALLBACK;
debug('updateServiceConfig: %j', platformConfig);
async.eachSeries([ 'mysql', 'postgresql', 'mail', 'mongodb', 'graphite' ], function iterator(serviceName, iteratorCallback) {
const containerConfig = platformConfig[serviceName];
let memory, memorySwap;