You could create a separate connection for the specific tube(s) you want to reserve from periodically. You could potentially do this for *all* the tubes you're client is currently watching and roll your own scheduling (e.g. round-robin) instead of having a single client session watching multiple tubes.
-Geoff On Thu, Jun 23, 2011 at 10:59 AM, VidJa <[email protected]> wrote: > Hi all, > > I'm watching multiple tubes in my application (python, beanstalkc). > > at some point in my application I need to get a job from a specific > tube, even if the priority of that job is lower than of jobs in the > other tubes. > > The only 'solution' I came up to is to loop over all tubes I'm > watching and 'ignore' those tubes I don't want to get jobs from at > that particular moment. Then later on I have to start watching all of > them again. > > Is there a method to get a job from a specific tube without first > ignoring the rest? > > Vid > > > -- > 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=en. > > -- 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=en.
