fix: use member variable as recruit counter to allow retrying as AbstractTask

This commit is contained in:
Horror Proton
2022-07-26 14:02:21 +08:00
parent 422341a746
commit 9f292ebad9
3 changed files with 4 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ bool asst::RecruitTask::set_params(const json::value& params)
.set_select_level(std::move(select))
.set_confirm_level(std::move(confirm))
.set_skip_robot(skip_robot)
.set_set_time(set_time).set_retry_times(0);
.set_set_time(set_time).set_retry_times(3);
return true;
}