diff --git a/Speed/SyncBuildService.php b/Speed/SyncBuildService.php index 4503fc3..4e48b65 100644 --- a/Speed/SyncBuildService.php +++ b/Speed/SyncBuildService.php @@ -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(