Start health checking in background
(self)
| 21 | self.thread = None |
| 22 | |
| 23 | def start(self): |
| 24 | """Start health checking in background""" |
| 25 | if not self.enabled: |
| 26 | return |
| 27 | |
| 28 | self.running = True |
| 29 | self.thread = threading.Thread(target=self._check_loop, daemon=True) |
| 30 | self.thread.start() |
| 31 | logger.info(f"Health checker started (interval: {self.interval}s)") |
| 32 | |
| 33 | def stop(self): |
| 34 | """Stop health checking""" |
no outgoing calls