Add log to see wait time
This commit is contained in:
parent
0209159c5c
commit
b149d377dc
@ -223,7 +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)}");
|
Log($"Next job in {jobs.OrderBy(job => job.nextExecution).First().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