]> git.parisson.com Git - teleforma.git/commitdiff
3s loop
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 18 Jul 2014 10:34:09 +0000 (12:34 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 18 Jul 2014 10:34:09 +0000 (12:34 +0200)
teleforma/exam/models.py

index f6dc6703b1b9f931e37aa0fc3d22394ea5546411..056598563063877ad6b4737a4fb5ca5c300377c4 100644 (file)
@@ -306,7 +306,7 @@ class Script(BaseResource):
                     if statuses[0]['status'] == 'DONE':
                         break
                     else:
-                        time.sleep(1)
+                        time.sleep(3)
                 else:
                     print '  File #1 failed :('
                     print '  Error Message: ' + statuses[0]['error']