fix 重试获取任务
This commit is contained in:
@@ -284,7 +284,10 @@ public class AssignmentService : IAssignmentService
|
||||
.Where(where)
|
||||
.ExecuteCommandAsync();
|
||||
|
||||
(taskIdVs.Count != effect).ThrowIfTrue("获取任务失败");
|
||||
if (taskIdVs.Count != effect)
|
||||
{
|
||||
throw new VersionExceptions("version exceptions");
|
||||
}
|
||||
|
||||
return page.Data;
|
||||
}, 5);
|
||||
|
||||
Reference in New Issue
Block a user