[libcalamares] Some debugging output for job progress, so you can double-check that the settings are being picked up

This commit is contained in:
Adriaan de Groot 2020-09-23 16:14:09 +02:00
parent ffed7b6d71
commit 75b01cfc0a

View File

@ -67,6 +67,13 @@ public:
{
m_overallQueueWeight = 1.0;
}
cDebug() << "There are" << m_runningJobs->count() << "jobs, total weight" << m_overallQueueWeight;
int c = 1;
for( const auto& j : *m_runningJobs )
{
cDebug() << Logger::SubEntry << "Job" << c << j.job->prettyName() << "wt" << j.weight << " c.wt" << j.cumulative;
}
}
void enqueue( int moduleWeight, const JobList& jobs )