I found a bug. When producer adds a new job when consumer is running in parallel, beanstalk gives newly added job to consumer and returns reply to producer only after sent job to consumer.
*Real behavior:* *(0. Consumer is running;)* 1. Producer adds job; 2. Beanstalk accepts job; 3. Consumer takes job; 4. Beanstalk returns reply about successful inserting job to producer. *Expected behavior:* *(0. Consumer is running;)* 1. Producer adds job; 2. Beanstalk accepts job and returning reply to producer; 3. Consumer takes job. *How to reproduce:* (1. Enable verbosity for beanstalk logging;) (2. Run producer and consumer processes parallel;) 3. Send "put" command from your app by producer; 4. Watch log. *Screenshot from my log below* [image: 1611315344.jpg] -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/beanstalk-talk/89951993-c9fa-419f-ac97-59ca311c8fa2n%40googlegroups.com.
