修复
This commit is contained in:
@@ -330,7 +330,7 @@ public sealed class OperationsController(
|
|||||||
{
|
{
|
||||||
var ids = pageItems.Select(x => x.Id).ToArray();
|
var ids = pageItems.Select(x => x.Id).ToArray();
|
||||||
var attempts = await db.BackgroundJobOutboxMessages.AsNoTracking()
|
var attempts = await db.BackgroundJobOutboxMessages.AsNoTracking()
|
||||||
.Where(x => ids.Contains(x.JobId))
|
.WhereIn(ids, x => x.JobId)
|
||||||
.Select(x => new { x.JobId, x.ProcessingAttempts })
|
.Select(x => new { x.JobId, x.ProcessingAttempts })
|
||||||
.ToDictionaryAsync(x => x.JobId, x => x.ProcessingAttempts,
|
.ToDictionaryAsync(x => x.JobId, x => x.ProcessingAttempts,
|
||||||
cancellationToken);
|
cancellationToken);
|
||||||
|
|||||||
Reference in New Issue
Block a user