docs: #306 trying to optimize finding related secions
This commit is contained in:
parent
b4a455fba4
commit
43425b3019
@ -178,7 +178,8 @@ namespace RMuseum.Services.Implementation
|
||||
await _UpdateSectionRelatedSectionsInfoNoSaveChanges(context, section);
|
||||
|
||||
number++;
|
||||
await jobProgressServiceEF.UpdateJob(job.Id, number);
|
||||
if(number % 100 == 0)
|
||||
await jobProgressServiceEF.UpdateJob(job.Id, number);
|
||||
}
|
||||
|
||||
await jobProgressServiceEF.UpdateJob(job.Id, 100, "", true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user