1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-22 02:38:16 +00:00

Update google.config to fix custom VM memory error

This commit is contained in:
Andrew Frank 2022-06-07 09:41:41 -04:00 committed by GitHub
parent 5fdc8b7b1b
commit d8c2775976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,4 +19,6 @@ google.lifeSciences.preemptible = params.google_preemptible
if (google.lifeSciences.preemptible) {
process.errorStrategy = { task.exitStatus in [8,10,14] ? 'retry' : 'terminate' }
process.maxRetries = 5
}
}
process.machineType = { task.memory > task.cpus * 6.GB ? ['custom', task.cpus, task.cpus * 6656].join('-') : null }