Doh! I completely overlooked that. I looked at that function and thought 
the multiple comparisons were odd, and completely missed that the third was 
a different set of data. Thanks for pointing that out; definitely explains 
the behavior I was seeing.

On Sunday, September 22, 2013 3:56:04 PM UTC-7, Keith Rarick wrote:
>
> On Sun, Sep 22, 2013 at 3:19 PM, Dustin Knie <[email protected]<javascript:>> 
> wrote: 
> > Both siftdown and siftup, however, 
> > only use priority for sorting, and if the priorities are all the same, 
> then 
> > nothing will change. 
>
> For jobs with equal priority, the sort key is the job id, 
> which is assigned in order of receipt. 
> https://github.com/kr/beanstalkd/blob/157d88/job.c#L163 
>

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/beanstalk-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to