memorySwap/memory is now just a single memoryLimit

This commit is contained in:
Girish Ramakrishnan
2021-01-19 18:51:43 -08:00
parent a33e662c47
commit 370f8d7cad
3 changed files with 9 additions and 9 deletions

View File

@@ -225,7 +225,7 @@ angular.module('Application').controller('EmailsController', ['$scope', '$locati
Client.getService('mail', function (error, result) {
if (error) return console.log('Error getting status of mail conatiner', error);
$scope.solrConfig.enoughMemory = result.config.memorySwap > (1024*1024*1024*2);
$scope.solrConfig.enoughMemory = result.config.memoryLimit > (1024*1024*1024*2);
$scope.solrConfig.running = result.healthcheck && result.healthcheck.solr.status;
Client.getSolrConfig(function (error, config) {