更新 Speed/SyncBuildService.php
This commit is contained in:
parent
7a2b777c1a
commit
413431025e
@ -38,6 +38,13 @@ readonly class SyncBuildService
|
||||
/* Sync network configuration */
|
||||
$this->networkService->syncSettings($server);
|
||||
|
||||
/* Sync rate limit */
|
||||
if (isset($server->rate_limit) && $server->rate_limit > 0) {
|
||||
$this->networkService->updateRateLimit($server, (float) $server->rate_limit);
|
||||
} else {
|
||||
$this->networkService->updateRateLimit($server);
|
||||
}
|
||||
|
||||
// find a disk that has a corresponding disk in the deployment
|
||||
$disksArray = collect($disks->toArray())->pluck('interface')->all();
|
||||
$bootOrder = array_filter(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user