lowered giveup time
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2020-05-14 23:02:52 +02:00
parent f3e8750ff1
commit 489883b464

View File

@ -80,7 +80,7 @@ class ConsumerLocator:
if not self.communicator.checkconsumer(consumer["Host"]):
consumer["State"] = False
if datetime.datetime.now() - datetime.datetime.fromtimestamp(consumer["LastOk"]) > datetime.timedelta(
hours=1):
seconds=15):
removelist.append(consumer)
else:
consumer["LastOk"] = datetime.datetime.now().timestamp()