From 9eae3cf564742db50fc7d3f6bfb118121bbe9bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E8=BD=A9?= Date: Wed, 3 Apr 2024 14:39:04 +0800 Subject: [PATCH] fix(region): add cloud account sync batch size options (#19877) --- pkg/compute/options/options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/compute/options/options.go b/pkg/compute/options/options.go index 797b84fde5..93e2d0d943 100644 --- a/pkg/compute/options/options.go +++ b/pkg/compute/options/options.go @@ -110,6 +110,7 @@ type ComputeOptions struct { TimePointsLimit int `default:"1" help:"time point of every days, default 1 point"` ServerStatusSyncIntervalMinutes int `default:"5" help:"Interval to sync server status, defualt is 5 minutes"` + CloudAccountBatchSyncSize int `default:"10" help:"How many cloud account syncing in a batch"` ServerSkuSyncIntervalMinutes int `default:"60" help:"Interval to sync public cloud server skus, defualt is 1 hour"` SkuBatchSync int `default:"5" help:"How many skus can be sync in a batch"`