mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
[feat/cron-test-support]optimize.
This commit is contained in:
@@ -123,13 +123,9 @@ class AccountTestSchedulerService {
|
|||||||
}
|
}
|
||||||
// 配置变了,停止旧任务
|
// 配置变了,停止旧任务
|
||||||
existingTask.task.stop()
|
existingTask.task.stop()
|
||||||
logger.info(
|
logger.info(`🔄 Updating cron task for ${accountKey}: ${cronExpression}, model: ${model}`)
|
||||||
`🔄 Updating cron task for ${accountKey}: ${cronExpression}, model: ${model}`
|
|
||||||
)
|
|
||||||
} else {
|
} else {
|
||||||
logger.info(
|
logger.info(`➕ Creating cron task for ${accountKey}: ${cronExpression}, model: ${model}`)
|
||||||
`➕ Creating cron task for ${accountKey}: ${cronExpression}, model: ${model}`
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建新的 cron 任务
|
// 创建新的 cron 任务
|
||||||
|
|||||||
Reference in New Issue
Block a user