earl / beanstalkc

A simple beanstalkd client library for Python
Apache License 2.0
458 stars 115 forks source link

Document the tube(s) the various peeks are operating on, in the tutorial #19

Open earl opened 12 years ago

earl commented 12 years ago

peek, like reserve, operates on the currently watched tubes.

peek_{ready,delayed,buried} only operate on the currently used tube.

ghedsouza commented 10 years ago

Specifically, this line should be updated: https://github.com/earl/beanstalkc/blame/484e2e92a51aaa492332338e5fd11fc99d1e8845/TUTORIAL.mkd#L342

reserve() is not actually tied to peek_ready() in any way.