chore: 移除 performHealthChecks 中未使用的 isInit 参数

This commit is contained in:
Wenaixi 2026-03-31 12:23:12 +08:00
parent 9f45e77448
commit bacf2baf40

View file

@ -1670,10 +1670,10 @@ export class ProviderPoolManager {
} }
/** /**
* Performs health checks on all providers in the pool. * Performs health checks on selected providers.
* This method would typically be called periodically (e.g., via cron job). * Respects SCHEDULED_HEALTH_CHECK.providerTypes configuration.
*/ */
async performHealthChecks(isInit = false) { async performHealthChecks() {
const scheduledConfig = this.globalConfig?.SCHEDULED_HEALTH_CHECK; const scheduledConfig = this.globalConfig?.SCHEDULED_HEALTH_CHECK;
const selectedProviderTypes = scheduledConfig?.providerTypes; const selectedProviderTypes = scheduledConfig?.providerTypes;