forked from GithubBackups/healthchecks
Pause before next report to avoid hitting sending quota
This commit is contained in:
parent
9dcb1678f3
commit
d7d21b0959
@ -56,6 +56,8 @@ class Command(BaseCommand):
|
|||||||
|
|
||||||
self.stdout.write(self.tmpl % profile.user.email)
|
self.stdout.write(self.tmpl % profile.user.email)
|
||||||
profile.send_report()
|
profile.send_report()
|
||||||
|
# Pause before next report to avoid hitting sending quota
|
||||||
|
time.sleep(1)
|
||||||
sent += 1
|
sent += 1
|
||||||
|
|
||||||
return sent
|
return sent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user