mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-15 19:12:17 +02:00
[postgres-Server-V2] fix: Updated Job logic to spawn a job only if a job with the same id is not already in the RunningJobs list
This commit is contained in:
@ -21,8 +21,8 @@ public class Chapter : IComparable<Chapter>
|
||||
public string ParentMangaId { get; internal set; }
|
||||
public Manga? ParentManga { get; init; }
|
||||
|
||||
public Chapter(Manga parentManga, string url, string chapterNumberStruct, int? volumeNumber = null, string? title = null)
|
||||
: this(parentManga.MangaId, url, chapterNumberStruct, volumeNumber, title)
|
||||
public Chapter(Manga parentManga, string url, string chapterNumber, int? volumeNumber = null, string? title = null)
|
||||
: this(parentManga.MangaId, url, chapterNumber, volumeNumber, title)
|
||||
{
|
||||
this.ParentManga = parentManga;
|
||||
this.ArchiveFileName = BuildArchiveFileName();
|
||||
|
Reference in New Issue
Block a user