From ff44fe3270a9ee77d1e51da884513ea14fa652a5 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Wed, 19 Jan 2022 09:33:41 +0100 Subject: [PATCH] Rename SYNC_SIZE env var to SYNC_SIZE_BYTES Avoid that there is confusion about the unit used. --- fs-repo-11-to-12/migration/swapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs-repo-11-to-12/migration/swapper.go b/fs-repo-11-to-12/migration/swapper.go index 56d1ae78..38cca6b3 100644 --- a/fs-repo-11-to-12/migration/swapper.go +++ b/fs-repo-11-to-12/migration/swapper.go @@ -23,7 +23,7 @@ var NWorkers int = 4 func init() { workerEnvVar := "IPFS_FS_MIGRATION_11_TO_12_NWORKERS" - syncSizeEnvVar := "IPFS_FS_MIGRATION_11_TO_12_SYNC_SIZE" + syncSizeEnvVar := "IPFS_FS_MIGRATION_11_TO_12_SYNC_SIZE_BYTES" if nworkersStr, nworkerInEnv := os.LookupEnv(workerEnvVar); nworkerInEnv { nworkers, err := strconv.Atoi(nworkersStr) if err != nil {