adding changes

This commit is contained in:
Thomas Harvey 2017-10-11 02:06:21 -04:00
parent 099bce3846
commit 654628b44d

View File

@ -371,6 +371,11 @@ var WorkerCollection = (function(){
} }
} }
console.log(
`LMA: ${lastMinAval}`,
`Settings MA: ${workers.settings.minAvail}`,
`Workers: ${workers.length}`
);
if(lastMinAval > workers.settings.minAvail){ if(lastMinAval > workers.settings.minAvail){
// Remove workers if there are more than the settings states // Remove workers if there are more than the settings states
console.log( console.log(
@ -395,6 +400,7 @@ var WorkerCollection = (function(){
} }
}; };
workers.settingsSave = function(){ workers.settingsSave = function(){
// save the live settings file to disk // save the live settings file to disk