fix(backend): dynamically start/stop tunnel quality prober based on config

This commit is contained in:
sagitchu
2026-04-23 14:14:24 +08:00
parent a070d0f4d3
commit bdc2c4ecbb
+1 -1
View File
@@ -121,7 +121,7 @@ func (h *Handler) runHealthChecks(ctx context.Context) {
func (h *Handler) runTunnelQualityProber(ctx context.Context) {
defer h.jobsWG.Done()
if h == nil || h.qualityProber == nil || !h.isTunnelQualityMonitoringEnabled() {
if h == nil || h.qualityProber == nil {
return
}