mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-17 04:36:05 +00:00
Merge pull request #8380 from sseago/worker-count
Add --item-block-worker-count flag to velero install and server
This commit is contained in:
@@ -86,6 +86,7 @@ type backupReconciler struct {
|
||||
maxConcurrentK8SConnections int
|
||||
defaultSnapshotMoveData bool
|
||||
globalCRClient kbclient.Client
|
||||
itemBlockWorkerCount int
|
||||
}
|
||||
|
||||
func NewBackupReconciler(
|
||||
@@ -110,6 +111,7 @@ func NewBackupReconciler(
|
||||
credentialStore credentials.FileStore,
|
||||
maxConcurrentK8SConnections int,
|
||||
defaultSnapshotMoveData bool,
|
||||
itemBlockWorkerCount int,
|
||||
globalCRClient kbclient.Client,
|
||||
) *backupReconciler {
|
||||
b := &backupReconciler{
|
||||
@@ -135,6 +137,7 @@ func NewBackupReconciler(
|
||||
credentialFileStore: credentialStore,
|
||||
maxConcurrentK8SConnections: maxConcurrentK8SConnections,
|
||||
defaultSnapshotMoveData: defaultSnapshotMoveData,
|
||||
itemBlockWorkerCount: itemBlockWorkerCount,
|
||||
globalCRClient: globalCRClient,
|
||||
}
|
||||
b.updateTotalBackupMetric()
|
||||
|
||||
Reference in New Issue
Block a user