Skip to content
Permalink
Browse files

No need for --priority for daemons.

  • Loading branch information...
Andersbakken committed May 3, 2019
1 parent 4674c6e commit a422b1f9206ad5605426f1bc51921884437b4e0a
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/JobScheduler.cpp
@@ -148,11 +148,13 @@ void JobScheduler::startJobs()

if (!process) {
process = new Process;
if (isDaemon)
mDaemons[process] = DaemonData {};
debug() << "Starting process for" << jobId << jobNode->job->sourceFileId() << jobNode->job.get();
List<String> arguments;
arguments << "--priority" << String::number(jobNode->job->priority());
if (isDaemon) {
mDaemons[process] = DaemonData {};
} else {
arguments << "--priority" << String::number(jobNode->job->priority());
}

for (int i=logLevel().toInt(); i>0; --i)
arguments << "-v";

0 comments on commit a422b1f

Please sign in to comment.
You can’t perform that action at this time.