This commit is contained in:
parent
f3e8750ff1
commit
489883b464
@ -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()
|
||||
|
Reference in New Issue
Block a user