You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently max jobs are defined for the whole user. Implement a queue specific maximum as well as a the user specific maximum. This change will break the current API slightly.
Should implement this as a keyword argument that can be set in the profile: queue_max
Note: it may be a good idea to allow a json dictionary to be defined which sets queue attributes, something like:
$ ./test.py
20170816 15:40:29.530 | INFO --> The queue is full, there are 1 jobs running and 0 jobs queued. Will wait to submit, retrying every 1 seconds.
20170816 15:43:23.612 | INFO --> The queue is full, there are 1 jobs running and 1 jobs queued. Will wait to submit, retrying every 1 seconds.
20170816 15:43:42.145 | INFO --> The queue is full, there are 1 jobs running and 1 jobs queued. Will wait to submit, retrying every 1 seconds.
20170816 15:46:35.936 | INFO --> The queue is full, there are 1 jobs running and 1 jobs queued. Will wait to submit, retrying every 1 seconds.
However manual inspection of the queue shows that there are two jobs running at any given time.
I think it is a good idea to set this at the queue level and not the job level, otherwise I can effectively ignore the max_jobs argument with:
That issue is because the time that the job object is caching job information is different from the queue, it is a little silly, I might try to fix it later. I am working on the change to set the minimum, but it will probably go into the 0.6.2 branch only, to be released with the 0.6.2.a1 release next week.
Currently max jobs are defined for the whole user. Implement a queue specific maximum as well as a the user specific maximum. This change will break the current API slightly.
Should implement this as a keyword argument that can be set in the profile:
queue_max
Note: it may be a good idea to allow a json dictionary to be defined which sets queue attributes, something like:
The format would be
{partition/queue: { max_<keyword>: value}}
and could be used to set maximums for any single partition.Every part of this file would be optional. It makes sense for it to be json rather than regular config format.
The text was updated successfully, but these errors were encountered: