mirror of
https://github.com/pelican-dev/panel.git
synced 2025-07-03 10:51:08 +02:00
Add server io weight default
This commit is contained in:
parent
48f4c35d0b
commit
32018399b6
@ -476,7 +476,7 @@ class CreateServer extends CreateRecord
|
|||||||
Forms\Components\Hidden::make('io')
|
Forms\Components\Hidden::make('io')
|
||||||
->helperText('The IO performance relative to other running containers')
|
->helperText('The IO performance relative to other running containers')
|
||||||
->label('Block IO Proportion')
|
->label('Block IO Proportion')
|
||||||
->default(500),
|
->default(config('panel.default_io_weight')),
|
||||||
|
|
||||||
Forms\Components\Grid::make()
|
Forms\Components\Grid::make()
|
||||||
->columns(4)
|
->columns(4)
|
||||||
|
@ -177,4 +177,6 @@ return [
|
|||||||
],
|
],
|
||||||
|
|
||||||
'use_binary_prefix' => env('PANEL_USE_BINARY_PREFIX', true),
|
'use_binary_prefix' => env('PANEL_USE_BINARY_PREFIX', true),
|
||||||
|
|
||||||
|
'default_io_weight' => env('PANEL_IO_WEIGHT', 500),
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user