Hello! You should probably check the documentation for the python client. https://github.com/earl/beanstalkc/blob/master/TUTORIAL.mkd
A couple points: 1) In the client script, you need to "watch" the tube "test". "use"-ing means that new jobs will go into test, but you're still trying to reserve jobs from "default". 2) Similarly, to keep from blocking, you need to pass "timeout" to reserve. IE: job = beanstalk.reserve(timeout = 0) Cheers! On 8 February 2015 at 10:44, Mayuresh Pise <[email protected]> wrote: > I am facing the exact same issue. It works only if I use default queue > otherwise it hangs forever. I tried with simple client and server and found > that this issue is present. > > Did you solve this one ? > > I am attaching test files which shows this issue. > > > On Monday, 24 November 2014 13:57:50 UTC+5:30, xingfa gong wrote: >> >> When I use the reserve command, it is always blocked. >> I use the python client-beanstalkc to communicate with the >> beanstalked, I put some data in a queue named 'foo', but when the consumer >> use the 'reserve' operation, it is blocked for a long time. Has anybody >> encounter this problems? > > -- > 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/d/optout. -- Nigel http://www.forgreatjustice.ca/ -- 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/d/optout.
