This commit is contained in:
Hamid Reza Mohammadi 2021-10-10 19:21:43 +03:30
parent 889523884e
commit 73e6d5fd9f

View File

@ -758,7 +758,7 @@ namespace RMuseum.Services.Implementation
using (RMuseumDbContext context = new RMuseumDbContext(new DbContextOptions<RMuseumDbContext>())) //this is long running job, so _context might be already been freed/collected by GC
{
LongRunningJobProgressServiceEF jobProgressServiceEF = new LongRunningJobProgressServiceEF(context);
var job = (await jobProgressServiceEF.NewJob("illingPoemsCoupletIndices", "Query data")).Result;
var job = (await jobProgressServiceEF.NewJob("FillingPoemsCoupletIndices", "Query data")).Result;
try
{