Skip to content

Commit 139b688

Browse files
Add files via upload
1 parent c4caeda commit 139b688

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

cft-templates/nextflow-advanced.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,7 @@ Resources:
505505
LaunchTemplateId: !Ref EC2LaunchTemplate
506506
Version: $Latest
507507
InstanceRole: !GetAtt BatchInstanceProfile.Arn
508-
InstanceTypes:
509-
- !Ref WorkerNodeInstanceType
508+
InstanceTypes: [c5, c5a, c5ad, c5d, i3, m5, r5, c6i ]
510509
MinvCpus: !Ref ComputeEnvMinvCpus
511510
MaxvCpus: !Ref ComputeEnvMaxvCpus
512511
SecurityGroupIds:
@@ -608,8 +607,15 @@ Resources:
608607
process.container = '${PipelineContainer}'
609608
process.executor = 'awsbatch'
610609
process.queue = '${DefaultQueue}'
611-
workDir = 's3://${S3Bucket}/${AWS::StackName}'
610+
workDir = 's3://${S3Bucket}/${AWS::StackName}'
611+
process.errorStrategy = {
612+
sleep( Math.pow( 2, task.attempt ) * 150 as long )
613+
return 'retry'
614+
}
615+
process.maxRetries = 5
612616
aws.batch.cliPath = '/home/ec2-user/miniconda/bin/aws'
617+
aws.batch.maxParallelTransfers = 5
618+
aws.batch.maxTransferAttempts = 5
613619
}
614620
}
615621

0 commit comments

Comments
 (0)