Improved cpulimit handling (LEV-181)
Minor fixes to num_cores update handler to set cpu_limit in a proper way (LEV-181)