From 1fcbafcb3f4b7e5cab6967c075a63ce94dc4fd9d Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Fri, 27 May 2016 13:41:30 +0000
Subject: [PATCH] Task #8392: random small waittime

---
 LTA/LTAIngest/ingestpipeline.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/LTA/LTAIngest/ingestpipeline.py b/LTA/LTAIngest/ingestpipeline.py
index af6a44ab461..f26ba5b52d5 100755
--- a/LTA/LTAIngest/ingestpipeline.py
+++ b/LTA/LTAIngest/ingestpipeline.py
@@ -533,7 +533,7 @@ class IngestPipeline():
         break  
       retry += 1
       if retry < times:
-        wait_time = 1 #random.randint(30, 60) * retry
+        wait_time = random.randint(30, 60) * retry
         self.logger.debug('waiting %d seconds before trying %s again' % (wait_time, self.JobId))
         time.sleep(wait_time)
     if error:
-- 
GitLab