This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nielsperetzke
/
healthchecks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
32
Wiki
Activity
Browse Source
Pause before next report to avoid hitting sending quota
pull/114/merge
1.0.2
Pēteris Caune
8 years ago
parent
9dcb1678f3
commit
d7d21b0959
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
hc/api/management/commands/sendreports.py
+ 2
- 0
hc/api/management/commands/sendreports.py
View File
@ -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
Write
Preview
Loading…
Cancel
Save