2
0

Infinite loop on unavailable chapters

This commit is contained in:
glax 2023-06-28 22:46:22 +02:00
parent a1202a875d
commit 6d5618a1f7

View File

@ -101,6 +101,10 @@ public abstract class TrangaTask
{ {
this.lastExecuted = DateTime.Now; this.lastExecuted = DateTime.Now;
this.state = ExecutionState.Success; this.state = ExecutionState.Success;
}else if (statusCode is HttpStatusCode.NotFound)
{
this.state = ExecutionState.Waiting;
this.lastExecuted = DateTime.MaxValue;
} }
else else
{ {