From 3286ca3318c6a6ac5bbc58d644f3596f808e5846 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 6 Jul 2023 14:07:08 -0700 Subject: [PATCH] lib/backup/actions: remove misleading comment about the default value for Concurrency field --- lib/backup/actions/backup.go | 1 - lib/backup/actions/restore.go | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/backup/actions/backup.go b/lib/backup/actions/backup.go index 11cce6900..b40ec8afb 100644 --- a/lib/backup/actions/backup.go +++ b/lib/backup/actions/backup.go @@ -28,7 +28,6 @@ var ( // made via `/snapshot/create`. It works improperly on mutable files. type Backup struct { // Concurrency is the number of concurrent workers during the backup. - // Concurrency=1 by default. Concurrency int // Src is backup source diff --git a/lib/backup/actions/restore.go b/lib/backup/actions/restore.go index 62cf89c03..14a64e17b 100644 --- a/lib/backup/actions/restore.go +++ b/lib/backup/actions/restore.go @@ -22,7 +22,6 @@ import ( // It works improperly on mutable files. type Restore struct { // Concurrency is the number of concurrent workers to run during restore. - // Concurrency=1 is used by default. Concurrency int // Src is the source containing backed up data.