changeset 45:62d848f2a128

"planemo upload"
author kkonganti
date Thu, 30 Jun 2022 15:28:32 -0400
parents d532ac969904
children 0dd0ebe5cddf
files 0.2.1/conf/modules.config
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/0.2.1/conf/modules.config	Thu Jun 30 13:52:35 2022 -0400
+++ b/0.2.1/conf/modules.config	Thu Jun 30 15:28:32 2022 -0400
@@ -82,6 +82,6 @@
 // Sleep time increases exponentially by tast attempt.
 def dynamic_retry(task_retry_num, factor_by) {
     // sleep(Math.pow(2, task_retry_num.toInteger()) * factor_by.toInteger() as long)
-    sleep(Math.pow(1.27, i) as long)
+    sleep(Math.pow(1.27, task_retry_num.toInteger()) as long)
     return 'retry'
 }