[libcalamares] Reduce chattiness again of job progress
This commit is contained in:
parent
2a795843e2
commit
44f8a7ae47
@ -175,14 +175,8 @@ private:
|
|||||||
if ( m_jobIndex < m_runningJobs->count() )
|
if ( m_jobIndex < m_runningJobs->count() )
|
||||||
{
|
{
|
||||||
const auto& jobitem = m_runningJobs->at( m_jobIndex );
|
const auto& jobitem = m_runningJobs->at( m_jobIndex );
|
||||||
cDebug() << "Job" << ( m_jobIndex + 1 ) << jobitem.job->prettyName() << "+wt" << jobitem.weight << "start.wt"
|
|
||||||
<< jobitem.cumulative;
|
|
||||||
progress = ( jobitem.cumulative + jobitem.weight * percentage ) / m_overallQueueWeight;
|
progress = ( jobitem.cumulative + jobitem.weight * percentage ) / m_overallQueueWeight;
|
||||||
message = jobitem.job->prettyStatusMessage();
|
message = jobitem.job->prettyStatusMessage();
|
||||||
cDebug() << Logger::SubEntry << ( double( int( percentage * 1000 ) ) / 10.0 ) << "% +wt"
|
|
||||||
<< ( jobitem.weight * percentage ) << " completed.wt"
|
|
||||||
<< ( jobitem.cumulative + jobitem.weight * percentage ) << "tot %"
|
|
||||||
<< ( double( int( progress * 1000 ) ) / 10.0 );
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user