Skip to content
Browse files

Minor documentation cleanups

  • Loading branch information...
1 parent 27fd51a commit 587c2fe9337faacba9304c50880dbdcc0b4f44c5 @earl committed
Showing with 7 additions and 6 deletions.
  1. +1 −1 README.mkd
  2. +6 −5 TUTORIAL.mkd
View
2 README.mkd
@@ -12,7 +12,7 @@ beanstalkc is pure Python, and is compatible with [eventlet][] and [gevent][].
[beanstalkd]: http://kr.github.com/beanstalkd/
[eventlet]: http://eventlet.net/
[gevent]: http://www.gevent.org/
-[pyyaml]: http://pyyaml.org/
+[PyYAML]: http://pyyaml.org/
Usage
View
11 TUTORIAL.mkd
@@ -300,17 +300,18 @@ tell you how many jobs were actually kicked alive again:
>>> beanstalk.kick(42)
0
-You can also kick a specific job:
-
+If you still have a handle to a job (or know its job ID), you can also kick
+alive this particular job, overriding the FIFO operation of the burial queue:
+
>>> job = beanstalk.reserve()
>>> job.bury()
>>> job.stats()['state']
'buried'
>>> job.kick()
+ >>> job.stats()['state']
+ 'ready'
-The `kick-job` command was introduced in beanstalkd v1.8, please make sure
-beanstalkd version >= v1.8 if you want to use
-this command.
+(NOTE: The `kick-job` command was introduced in beanstalkd v1.8.)
Inspecting Jobs

0 comments on commit 587c2fe

Please sign in to comment.
Something went wrong with that request. Please try again.