Commit Graph

11 Commits

Author SHA1 Message Date
vvzvlad
da56ef57f0 Comment out random sleep functionality in checker.py to simplify execution flow. This change removes unnecessary delays, enhancing the responsiveness of the checker process while maintaining existing logging and error handling mechanisms. 2025-01-19 11:31:51 +03:00
vvzvlad
b89e6c20ce Refactor self_update function in checker.py to accept a logger parameter for improved logging. This change enhances the update process by providing consistent logging messages for update checks, successes, and errors, thereby improving the clarity and maintainability of the script's update functionality. 2025-01-19 11:29:48 +03:00
vvzvlad
b93e5f890a Refactor check_logs function in checker.py to improve subscription message detection. Changed from single match to iterating over all matches, allowing retrieval of the last subscription ID found in logs. Updated logging to reflect the last subscription message or indicate absence, enhancing clarity in log analysis. 2025-01-19 11:11:38 +03:00
vvzvlad
625a8f71ae Update subscription pattern in check_logs function of checker.py to include a wildcard for error messages. This change enhances the regex matching for subscription completion, improving the accuracy of log analysis in health checks. 2025-01-19 09:54:48 +03:00
vvzvlad
8acb4768e3 Reduce random sleep duration in checker.py from 10 minutes to 1 minute to improve responsiveness of the checker process. This change enhances the overall efficiency of the health check execution. 2025-01-19 09:48:54 +03:00
vvzvlad
b9d966ff90 Update check_logs function in checker.py to retrieve logs from the 'infernet-node' container instead of using 'docker compose'. This change improves log retrieval efficiency by reducing the time window from 2 hours to 10 minutes, while also updating error handling to reflect the new command. Enhances clarity in log management for health checks. 2025-01-19 09:45:18 +03:00
vvzvlad
1e38b5aca6 Refactor check_logs function in checker.py to focus on subscription completion detection. Removed dynamic error and proof speed logging, simplifying the health check process. Now returns a status based on subscription completion, enhancing clarity and maintainability of the health check logic. 2025-01-19 09:44:17 +03:00
vvzvlad
49c13d9e42 Enhance health check in checker.py by adding a print statement for the fixed message "test ok". This improves visibility of the health status during execution while maintaining the existing error handling structure. 2025-01-18 17:57:29 +03:00
vvzvlad
4e50ee554b Comment out dynamic log data retrieval in checker.py, maintaining a fixed health status callback message "test ok". This change simplifies the health check process while preserving error handling functionality. 2025-01-18 15:03:02 +03:00
vvzvlad
f5706ac887 Update health status callback in checker.py to return a fixed message "test ok" instead of dynamic log data 2025-01-18 14:52:59 +03:00
vvzvlad
da787935df Add node-checker service 2025-01-18 13:59:41 +03:00