Better logging in sendalerts.

This commit is contained in:
Pēteris Caune 2016-04-16 01:13:58 +03:00
parent 36f8ee2970
commit e39b714447

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