Modified watchdog to lazy load

This commit is contained in:
Dillon DuPont
2025-07-09 14:06:01 -04:00
parent a0660e9b55
commit cb2f8c3d2a

View File

@@ -11,7 +11,6 @@ import threading
from typing import List, Optional
from .server import Server
from .watchdog import Watchdog
logger = logging.getLogger(__name__)
@@ -99,6 +98,7 @@ def main() -> None:
}
# Create watchdog with restart settings
from .watchdog import Watchdog
watchdog = Watchdog(
cli_args=cli_args,
ping_interval=args.watchdog_interval