app(server): rename oom_disabled
to oom_killer
and invert existing values
This commit is contained in:
parent
450fba00bc
commit
7665eea14d
16 changed files with 63 additions and 256 deletions
|
@ -46,7 +46,7 @@ class BuildModificationService
|
|||
|
||||
// If any of these values are passed through in the data array go ahead and set
|
||||
// them correctly on the server model.
|
||||
$merge = Arr::only($data, ['oom_disabled', 'memory', 'swap', 'io', 'cpu', 'threads', 'disk', 'allocation_id']);
|
||||
$merge = Arr::only($data, ['oom_killer', 'memory', 'swap', 'io', 'cpu', 'threads', 'disk', 'allocation_id']);
|
||||
|
||||
$server->forceFill(array_merge($merge, [
|
||||
'allocation_limit' => Arr::get($data, 'allocation_limit', 0) ?? null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue