infrared  committed 6758894

Added delay inside results posting loop.

  • Participants
  • Parent commits 29f121f

Comments (0)

Files changed (1)


         for name, version, score in latest_scores:
             if not post_results(name, version, score.serialize()):
                 store.log("Cheesecake data rejected by PyPI for package %s-%s." % (name, version))
+            # Do not contact PyPI to often.
+            time.sleep(1)
         # Get new list of packages from PyPI.
         # Allow user to interrupt this one.