From 39abde2413623483c93654488ef57134939924d3 Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Mon, 13 Oct 2025 14:02:55 +0800 Subject: [PATCH] refactor(watcher): remove redundant quota-exceeded change logs --- internal/watcher/watcher.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/watcher/watcher.go b/internal/watcher/watcher.go index e30dfb0e..5bc03b17 100644 --- a/internal/watcher/watcher.go +++ b/internal/watcher/watcher.go @@ -549,12 +549,6 @@ func (w *Watcher) reloadConfig() bool { } else { log.Debugf("no material config field changes detected") } - if oldConfig.QuotaExceeded.SwitchProject != newConfig.QuotaExceeded.SwitchProject { - log.Debugf(" quota-exceeded.switch-project: %t -> %t", oldConfig.QuotaExceeded.SwitchProject, newConfig.QuotaExceeded.SwitchProject) - } - if oldConfig.QuotaExceeded.SwitchPreviewModel != newConfig.QuotaExceeded.SwitchPreviewModel { - log.Debugf(" quota-exceeded.switch-preview-model: %t -> %t", oldConfig.QuotaExceeded.SwitchPreviewModel, newConfig.QuotaExceeded.SwitchPreviewModel) - } } authDirChanged := oldConfig == nil || oldConfig.AuthDir != newConfig.AuthDir