Add default Tranga-Workers

This commit is contained in:
2025-07-03 21:17:08 +02:00
parent a90a6fb200
commit ea627081b8
7 changed files with 25 additions and 14 deletions

View File

@ -6,7 +6,7 @@ public class StartNewChapterDownloadsWorker(TimeSpan? interval = null, IEnumerab
: BaseWorkerWithContext<MangaContext>(dependsOn), IPeriodic
{
public DateTime LastExecution { get; set; } = DateTime.UtcNow;
public DateTime LastExecution { get; set; } = DateTime.UnixEpoch;
public TimeSpan Interval { get; set; } = interval ?? TimeSpan.FromMinutes(120);
protected override BaseWorker[] DoWorkInternal()
{