更新 Speed/SyncBuildService.php

This commit is contained in:
ste87 2026-03-14 14:15:19 +08:00
parent 7a2b777c1a
commit 413431025e

View File

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