Skip to content

Commit

Permalink
fix chunk number
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Nov 12, 2023
1 parent d1d96ab commit ed1fabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func init() {
migrateCmd.Flags().StringVar(&newerThanStr, "newer-than", "", "eg; 7d10h --> migrate objects that is newer than 7 days 10 hours")
migrateCmd.Flags().StringVar(&olderThanStr, "older-than", "", "eg; 7d10h --> migrate objects that is older than 7 days 10 hours")
migrateCmd.Flags().Int64Var(&chunkSize, "chunk-size", 50*1024*1024, "chunk size in bytes")
migrateCmd.Flags().IntVar(&chunkNumber, "chunk-number", 1000, "number of chunks to upload")
migrateCmd.Flags().IntVar(&chunkNumber, "chunk-number", 250, "number of chunks to upload")
migrateCmd.Flags().IntVar(&batchSize, "batch-size", 30, "number of files to upload in a batch")

}
Expand Down

0 comments on commit ed1fabe

Please sign in to comment.