🐛 暂时还是单线程 没有解决好验证码问题
This commit is contained in:
@@ -193,7 +193,7 @@ func (h *XuexitongTaskHandler) ProcessTask(ctx context.Context, task *asynq.Task
|
||||
err = courseService.AutoStudyByCourseIDWithOptions(ctx, targetCourse.CourseID, &xuexitong.AutoStudyOptions{
|
||||
AIConfig: aiConfig,
|
||||
AutoSubmit: true, // 默认不自动提交,仅保存
|
||||
Thread: 5,
|
||||
Thread: 1,
|
||||
})
|
||||
if err != nil {
|
||||
// 如果是时间限制导致的停止,不算失败
|
||||
|
||||
Reference in New Issue
Block a user