Add server io weight default

This commit is contained in:
Lance Pioch 2024-06-17 18:15:35 -04:00
parent 48f4c35d0b
commit 32018399b6
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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),
]; ];