mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-21 16:16:04 +00:00
Update google.config to fix custom VM memory error
This commit is contained in:
parent
5fdc8b7b1b
commit
d8c2775976
1 changed files with 3 additions and 1 deletions
|
@ -20,3 +20,5 @@ if (google.lifeSciences.preemptible) {
|
||||||
process.errorStrategy = { task.exitStatus in [8,10,14] ? 'retry' : 'terminate' }
|
process.errorStrategy = { task.exitStatus in [8,10,14] ? 'retry' : 'terminate' }
|
||||||
process.maxRetries = 5
|
process.maxRetries = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
process.machineType = { task.memory > task.cpus * 6.GB ? ['custom', task.cpus, task.cpus * 6656].join('-') : null }
|
||||||
|
|
Loading…
Reference in a new issue