lowered giveup time
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pünkösd Marcell 2020-05-14 23:02:52 +02:00
parent f3e8750ff1
commit 489883b464
1 changed files with 1 additions and 1 deletions

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()