Add log to see wait time
This commit is contained in:
parent
e31820eb00
commit
0209159c5c
@ -223,6 +223,7 @@ public class JobBoss : GlobalBase
|
|||||||
queueHead.ResetProgress();
|
queueHead.ResetProgress();
|
||||||
jobQueue.Dequeue();
|
jobQueue.Dequeue();
|
||||||
ExportJobsList();
|
ExportJobsList();
|
||||||
|
Log($"Next job in {jobQueue.Peek().nextExecution.Subtract(DateTime.Now)}");
|
||||||
}else if (queueHead.progressToken.state is ProgressToken.State.Standby)
|
}else if (queueHead.progressToken.state is ProgressToken.State.Standby)
|
||||||
{
|
{
|
||||||
Job[] subJobs = jobQueue.Peek().ExecuteReturnSubTasks().ToArray();
|
Job[] subJobs = jobQueue.Peek().ExecuteReturnSubTasks().ToArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user