docs for peek_* foo commands

0 views
Skip to first unread message

Rob Sanheim

unread,
Jul 25, 2008, 4:56:51 PM7/25/08
to beansta...@googlegroups.com
Is there documentation anywhere for the peek* commands?

I'm trying to figure out if there is a relatively cheap way to say
things like "show me the contents of the next 5 jobs without blocking
or reserving them".

thanks,
- Rob

Keith Rarick

unread,
Jul 27, 2008, 2:41:38 PM7/27/08
to beansta...@googlegroups.com
On Fri, Jul 25, 2008 at 1:56 PM, Rob Sanheim <rsan...@gmail.com> wrote:
> Is there documentation anywhere for the peek* commands?

They are documented in
http://xph.us/git/beanstalkd/tree/doc/protocol.txt?id=r1.0

> I'm trying to figure out if there is a relatively cheap way to say
> things like "show me the contents of the next 5 jobs without blocking
> or reserving them".

You can do that for the next one job, but not the next five jobs.

If you don't mind reserving jobs briefly, you can issue five reserve
commands and then immediately release the jobs.

kr

Reply all
Reply to author
Forward
0 new messages