Add relay health check and tests

This commit is contained in:
thePR0M3TH3AN
2025-07-03 09:44:09 -04:00
parent 408d005e28
commit 3364824fc4
4 changed files with 66 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ logger = logging.getLogger(__name__)
# -----------------------------------
MAX_RETRIES = 3 # Maximum number of retries for relay connections
RETRY_DELAY = 5 # Seconds to wait before retrying a failed connection
MIN_HEALTHY_RELAYS = 2 # Minimum relays that should return data on startup
# -----------------------------------
# Application Directory and Paths