On Tue, Nov 10, 2009 at 6:04 PM,  <[email protected]> wrote:
> I'm wondering if somebody could clarify where the documentation of various
> clients fail to, with regards to job priority.

I'm not completely following your example, but I will try to describe
how priorities work in general terms.

When a client requests a job, the server picks one as if it were using
this procedure:

1. Sort all the jobs (in relevant tubes), first by priority, then by
order of submission.
2. Pick the first job.

So we could submit job A with priority 6, then job B with priority 5.
A subsequent reserve command would get job B first.

In your example, it depends on the priorities and submission order of
the other jobs.

kr

--

You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=.


Reply via email to