Skip to content

Commit

Permalink
Remove debug output for queue monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
tusooa committed Jan 11, 2021
1 parent ab44bf3 commit 3bc9924
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/job/cprjobhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ namespace Kazv
}

void popJobImpl(std::string queueId) {
kzo.job.dbg() << "popJobImpl called with " << queueId << std::endl;
if (! jobQueues[queueId].empty()) {
kzo.job.dbg() << "the first job is "
<< (jobQueues[queueId].front().status == Waiting ? "Waiting" : "Running") << std::endl;
jobQueues[queueId].pop_front();
}
}
Expand All @@ -114,11 +111,8 @@ namespace Kazv
[=] {
// precondition: job has a queueId
for (auto &[queueId, queue] : jobQueues) { // need to change queue
kzo.job.dbg() << "monitoring queue " << queueId << std::endl;
if (! queue.empty()) {
auto [job, callback, status] = queue.front();
kzo.job.dbg() << "the first job is "
<< (status == Waiting ? "Waiting" : "Running") << std::endl;
if (status == Waiting) {
queue.front().status = Running;
submitImpl(
Expand Down

0 comments on commit 3bc9924

Please sign in to comment.