From eda26a83528c278d6d30781b0e6f418dde0b1e76 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 11cce6900a..b40ec8afbd 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 62cf89c031..14a64e17b2 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.