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