1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-07-09 22:55:23 +02:00

Lazy Load Jobs.DependsOnJobs, Manga.Chapters

This commit is contained in:
2025-05-16 21:53:59 +02:00
parent 6258e07f20
commit 225b7f02ad
7 changed files with 45 additions and 42 deletions

@ -36,7 +36,6 @@ public class DownloadAvailableChaptersJob : Job
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
context.Entry(Manga).Collection<Chapter>(m => m.Chapters).Load();
return Manga.Chapters.Select(chapter => new DownloadSingleChapterJob(chapter, this));
}
}