diff --git a/hc/api/management/commands/sendreports.py b/hc/api/management/commands/sendreports.py index 0979909e..994cdee9 100644 --- a/hc/api/management/commands/sendreports.py +++ b/hc/api/management/commands/sendreports.py @@ -56,6 +56,8 @@ class Command(BaseCommand): self.stdout.write(self.tmpl % profile.user.email) profile.send_report() + # Pause before next report to avoid hitting sending quota + time.sleep(1) sent += 1 return sent