Skip to content

Commit

Permalink
increase liveness period
Browse files Browse the repository at this point in the history
  • Loading branch information
sholdee committed Jun 27, 2024
1 parent 450f226 commit 9b55485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adguard_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def is_ready(self):

def is_healthy(self):
return (self.is_initialized or time.time() - self.start_time < 120) and \
(not os.path.exists(self.log_file_path) or time.time() - self.last_update_time < update_interval * 2)
(not os.path.exists(self.log_file_path) or time.time() - self.last_update_time < update_interval * 30)

class HealthServer:
def __init__(self, log_handler):
Expand Down

0 comments on commit 9b55485

Please sign in to comment.