fix 重试获取任务

This commit is contained in:
2024-06-17 22:48:05 +08:00
parent a3672d52f4
commit 4ccf2ac623

View File

@@ -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);