From 129b4f688f1bfdbf7343a491d9e5bf01155f62bc Mon Sep 17 00:00:00 2001 From: Wenaixi Date: Mon, 30 Mar 2026 23:13:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5enabled=E6=A3=80=E6=9F=A5bu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将scheduledConfig?.disabled改为!scheduledConfig?.enabled Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/providers/provider-pool-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/provider-pool-manager.js b/src/providers/provider-pool-manager.js index 7a81a22..beee214 100644 --- a/src/providers/provider-pool-manager.js +++ b/src/providers/provider-pool-manager.js @@ -1752,7 +1752,7 @@ export class ProviderPoolManager { const scheduledConfig = globalThis.CONFIG?.SCHEDULED_HEALTH_CHECK; // Check if scheduled health checks are disabled - if (scheduledConfig?.disabled) { + if (!scheduledConfig?.enabled) { this._log('debug', '[ScheduledHealthCheck] Scheduled health checks are disabled via configuration'); return; }