x
This commit is contained in:
@@ -980,6 +980,8 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
|
||||
var totalMemory = roundedMemory * 1.2; // box-setup.sh creates equal amount of swap. 1.2 factor is arbitrary
|
||||
var available = (totalMemory || 0) - used;
|
||||
|
||||
console.log(needed, used, roundedMemory, totalMemory, available);
|
||||
|
||||
return (available - needed) >= 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user