Mercurial > repos > kkonganti > cfsan_centriflaken
diff 0.2.1/conf/modules.config @ 39:36ca1a1156df
"planemo upload"
author | kkonganti |
---|---|
date | Thu, 30 Jun 2022 12:34:34 -0400 |
parents | a047ee0e34ae |
children | 62d848f2a128 |
line wrap: on
line diff
--- a/0.2.1/conf/modules.config Wed Jun 29 23:40:53 2022 -0400 +++ b/0.2.1/conf/modules.config Thu Jun 30 12:34:34 2022 -0400 @@ -14,7 +14,7 @@ ![0].contains(task.exitStatus) ? dynamic_retry(task.attempt, 10) : 'finish' } - maxRetries = 21 + maxRetries = 80 withLabel: 'process_femto' { cpus = 2 @@ -81,7 +81,7 @@ // Function will return after sleeping for some time. // Sleep time increases exponentially by tast attempt. def dynamic_retry(task_retry_num, factor_by) { - println tas - sleep(Math.pow(2, task_retry_num.toInteger()) * factor_by.toInteger() as long) + // sleep(Math.pow(2, task_retry_num.toInteger()) * factor_by.toInteger() as long) + sleep(Math.pow(1.27, i) as long) return 'retry' -} \ No newline at end of file +}