Move EnvVars to Constants.cs

Add CHECK_CHAPTERS_BEFORE_START
This commit is contained in:
2025-10-03 20:15:55 +02:00
parent 5f8eed1867
commit 71d5116323
5 changed files with 24 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ public class UpdateChaptersDownloadedWorker(TimeSpan? interval = null, IEnumerab
: BaseWorkerWithContext<MangaContext>(dependsOn), IPeriodic
{
public DateTime LastExecution { get; set; } = DateTime.UnixEpoch;
public TimeSpan Interval { get; set; } = interval??TimeSpan.FromMinutes(60);
public TimeSpan Interval { get; set; } = interval??TimeSpan.FromDays(1);
protected override async Task<BaseWorker[]> DoWorkInternal()
{
Log.Debug("Checking chapter files...");