|
|
@@ -275,7 +275,7 @@ class VmCreateProvider extends BaseModelDataProvider implements ClientArea
|
|
|
//cpulimit
|
|
|
if( !$this->configuration()->isPermissionCpuLimit() && !$this->formData['cpuPriority']){
|
|
|
// $this->vmModel->cpulimit = $this->configuration()->serverCpulimit->min;
|
|
|
- $this->vmModel->cpulimit = $this->formData['vcpu'];
|
|
|
+ $this->vmModel->cpulimit = $this->formData['vcpu'] * 0.8;
|
|
|
}
|
|
|
//cpuunits
|
|
|
if( !$this->configuration()->isPermissionCpuunits() && !$this->formData['cpuPriority']){
|