Zitat von
lst_...@kwsoft.de:
It looks like there is something which indicates that priority should
or will be configurable in the "run" directive of the scheduler.
In
https://github.com/bareos/bareos/blob/master/core/src/dird/scheduler_job_item_queue.cc
starting at line 96 we have
int priority = run != nullptr
? (run->Priority != 0 ? run->Priority : job->Priority)
: default_priority;
std::lock_guard<std::mutex> lg(impl_->mutex);
impl_->priority_queue.emplace(job, run, runtime, priority, job_trigger);
Can someone confirm that this should be usable and will maybe get in
the documentation someday?
Thanks
Andi