fix: 修复定时健康检查enabled检查bug
将scheduledConfig?.disabled改为!scheduledConfig?.enabled Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
94561f2750
commit
129b4f688f
1 changed files with 1 additions and 1 deletions
|
|
@ -1752,7 +1752,7 @@ export class ProviderPoolManager {
|
||||||
const scheduledConfig = globalThis.CONFIG?.SCHEDULED_HEALTH_CHECK;
|
const scheduledConfig = globalThis.CONFIG?.SCHEDULED_HEALTH_CHECK;
|
||||||
|
|
||||||
// Check if scheduled health checks are disabled
|
// Check if scheduled health checks are disabled
|
||||||
if (scheduledConfig?.disabled) {
|
if (!scheduledConfig?.enabled) {
|
||||||
this._log('debug', '[ScheduledHealthCheck] Scheduled health checks are disabled via configuration');
|
this._log('debug', '[ScheduledHealthCheck] Scheduled health checks are disabled via configuration');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue