Hello
I have a single host setup and I am posting jobs to the api.
I have included the priority to post body like this:
"priority": "1"
I am printint %i_job_priority% to file, to monitor if the priority from post is actually considered, but the printed priority value is always the one that set in the workflow properties, so the priority from the api post is ignored it seems.
Am I completely missing the point or working principles of priority argument?
Can't understand priority
Re: Can't understand priority
Hi djv6ru,
Thank you for using FFAStrans and welcome to the forum!
This is a bug But thanks for reporting. To work around the problem (until a new release is out) you could try and put a priority change to the job right after you get the job id. That should work. There might be a small delay (2-3 secs) before it's fully updated to the new prio.
PUT to /api/v2/jobs/<job_id>
-steinar
Thank you for using FFAStrans and welcome to the forum!
This is a bug But thanks for reporting. To work around the problem (until a new release is out) you could try and put a priority change to the job right after you get the job id. That should work. There might be a small delay (2-3 secs) before it's fully updated to the new prio.
Code: Select all
{
"action": "priority",
"value": 1
}
-steinar