Skip to content

Commit

Permalink
Merge pull request #113 from 0chain/fix/chunk-size
Browse files Browse the repository at this point in the history
fix chunk size
  • Loading branch information
peterlimg authored Dec 16, 2023
2 parents ca8f3e3 + 683559e commit 42231f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migration/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func InitMigration(mConfig *MigrationConfig) error {
zlogger.Logger.Error(err)
return err
}
mConfig.ChunkSize = dStorageService.GetChunkWriteSize()
mConfig.ChunkSize = int64(mConfig.ChunkNumber) * dStorageService.GetChunkWriteSize()
zlogger.Logger.Info("Getting aws storage service")
awsStorageService, err := s3.GetAwsClient(
mConfig.Bucket,
Expand Down

0 comments on commit 42231f0

Please sign in to comment.