forked from GithubBackups/healthchecks
Better logging in sendalerts.
This commit is contained in:
parent
36f8ee2970
commit
e39b714447
@ -55,12 +55,12 @@ class Command(BaseCommand):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
self.stdout.write("sendalerts starts up")
|
self.stdout.write("sendalerts is now running")
|
||||||
|
|
||||||
ticks = 0
|
ticks = 0
|
||||||
while True:
|
while True:
|
||||||
if self.handle_many():
|
if self.handle_many():
|
||||||
ticks = 0
|
ticks = 1
|
||||||
else:
|
else:
|
||||||
ticks += 1
|
ticks += 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user