mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-29 23:44:17 +02:00
JobCycle Info-Debug list jobs started/running
Some checks failed
Docker Image CI / build (push) Has been cancelled
Some checks failed
Docker Image CI / build (push) Has been cancelled
This commit is contained in:
@ -169,11 +169,15 @@ public static class Tranga
|
|||||||
while(!running)
|
while(!running)
|
||||||
Thread.Sleep(10);
|
Thread.Sleep(10);
|
||||||
}
|
}
|
||||||
Log.Debug($"Running: {runningJobs.Count} Waiting: {waitingJobs.Count} Due: {dueJobs.Count} of which \n" +
|
Log.Debug($"Running: {runningJobs.Count}\n" +
|
||||||
$"{jobsWithoutDependencies.Count} without missing dependencies, of which\n" +
|
$"{string.Join("\n", runningJobs.Select(s => "\t- " + s))}\n" +
|
||||||
|
$"Waiting: {waitingJobs.Count} Due: {dueJobs.Count}\n" +
|
||||||
|
$"{string.Join("\n", dueJobs.Select(s => "\t- " + s))}\n" +
|
||||||
|
$"of which {jobsWithoutDependencies.Count} without missing dependencies, of which\n" +
|
||||||
$"\t{jobsWithoutDownloading.Count} without downloading\n" +
|
$"\t{jobsWithoutDownloading.Count} without downloading\n" +
|
||||||
$"\t{jobsNotHeldBackByConnector.Count} not held back by Connector\n" +
|
$"\t{jobsNotHeldBackByConnector.Count} not held back by Connector\n" +
|
||||||
$"{startJobs.Count} were started.");
|
$"{startJobs.Count} were started:\n" +
|
||||||
|
$"{string.Join("\n", startJobs.Select(s => "\t- " + s))}");
|
||||||
|
|
||||||
if (Log.IsDebugEnabled && dueJobs.Count < 1)
|
if (Log.IsDebugEnabled && dueJobs.Count < 1)
|
||||||
if(waitingJobs.MinBy(j => j.NextExecution) is { } nextJob)
|
if(waitingJobs.MinBy(j => j.NextExecution) is { } nextJob)
|
||||||
|
Reference in New Issue
Block a user