Skip to content

Commit

Permalink
Update google.config
Browse files Browse the repository at this point in the history
  • Loading branch information
cgpu authored Jun 8, 2021
1 parent 94dcaf0 commit 2976d51
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions conf/google.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,18 @@ google {
process {
// Common process configurations on Lifebit CloudOS
echo = params.echo

container = params.containerName
cpus = params.resquiggle_cpus
memory = params.resquiggle_memory
disk = 500.GB
maxRetries = 5
errorStrategy = { task.attempt == process.maxRetries ? 'ignore' : task.exitStatus in [10, 14] ? 'retry' : 'ignore' }
maxRetries = 30

// Adds errorStrategy for when required execution resources may be temporary unavailable e.g. network congestion.
// Nextflow docs:
errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' }

withName: DeepSignal {
errorStrategy = { task.attempt == process.maxRetries ? 'ignore' : task.exitStatus in [8, 10, 14] ? 'retry' : 'ignore' }
errorStrategy = { task.attempt == process.maxRetries ? 'ignore' : task.exitStatus in [8, 10, 14] ? sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' : 'ignore' }
}

withName: Tombo {
Expand Down

0 comments on commit 2976d51

Please sign in to comment.