the reserve command will block until a new job is ready to be reserved but reserve-with-timeout just wait for a specified seconds, if no job is ready then just timeout and return
2013/11/2 Edmond Meinfelder <[email protected]> > Hello, > > I'm new with beanstalkd and evaluating it for work. I'm using v1.9 on OS X. > > I having trouble with put and reserve. Specifically, when I run the > following sequence of commands: > > *use test* > USING test > *put 1 0 999999 2* > *HI* > INSERTED 1 > *peek-ready* > FOUND 1 2 > HI > *reserve-with-timeout 1* > TIMED_OUT > > > Why is it, when I try to reserve-with-timeout it always times out. Also, > when I use reserve, it just hangs as if nothing was in the ready tube. > > -Edmond > > -- > 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. > -- 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.
