Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Feb 24, 2024
1 parent 5937d05 commit da07a60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private string GenerateFileId(CancellationToken ct)
var existing = _dbContext.Set<IdEntity>().Select(x => x.FileId).Where(x => fileIds.Contains(x)).ToHashSet();
var existing2 = _dbContextOld.Set<IdEntity>().Select(x => x.FileId).Where(x => fileIds.Contains(x)).ToHashSet();
//if (existing.Count == count) continue;
fileId = existing.First(x => !fileIds.Contains(x));
//fileId = existing.First(x => !fileIds.Contains(x));
fileIds.ExceptWith(existing);
fileIds.ExceptWith(existing2);
if (fileIds.Count == 0) break;
Expand Down

0 comments on commit da07a60

Please sign in to comment.