]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Increase polling interval
authorZack Cerza <zack@redhat.com>
Thu, 5 Nov 2015 17:43:13 +0000 (10:43 -0700)
committerZack Cerza <zack@redhat.com>
Thu, 5 Nov 2015 18:26:04 +0000 (11:26 -0700)
When we used the filesystem, we polled for a run's status every 10s;
that was more aggressive than necessary. Increase to 60s to avoid
overloading paddles.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/results.py

index 12ced2731bb51973f05fc58fc9953e2b2eab5375..5c0ea7da7d52e8618159ba32edaf2395f54d4808 100644 (file)
@@ -53,7 +53,7 @@ def results(archive_dir, name, email, timeout, dry_run):
         if not unfinished_jobs:
             log.info('Tests finished! gathering results...')
             break
-        time.sleep(10)
+        time.sleep(60)
 
     (subject, body) = build_email_body(name)