diff --git a/consumerlocator.py b/consumerlocator.py index 1a940b5..f018835 100644 --- a/consumerlocator.py +++ b/consumerlocator.py @@ -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()