Browse Source

Better logging in sendalerts.

pull/60/head
Pēteris Caune 9 years ago
parent
commit
e39b714447
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hc/api/management/commands/sendalerts.py

+ 2
- 2
hc/api/management/commands/sendalerts.py View File

@ -55,12 +55,12 @@ class Command(BaseCommand):
return True
def handle(self, *args, **options):
self.stdout.write("sendalerts starts up")
self.stdout.write("sendalerts is now running")
ticks = 0
while True:
if self.handle_many():
ticks = 0
ticks = 1
else:
ticks += 1


Loading…
Cancel
Save