retry setting memory of services

This commit is contained in:
Girish Ramakrishnan
2020-09-22 21:42:47 -07:00
parent 191be658d5
commit 3c565defca
2 changed files with 6 additions and 2 deletions

View File

@@ -450,7 +450,9 @@ function setPlatformConfig(platformConfig, callback) {
settingsdb.set(exports.PLATFORM_CONFIG_KEY, JSON.stringify(platformConfig), function (error) {
if (error) return callback(error);
addons.updateServiceConfig(platformConfig, callback);
callback(null); // updating service config can take a while
addons.updateServiceConfig(platformConfig);
});
}