Skip to content
Browse files

better cross linking

  • Loading branch information...
1 parent c3be5ec commit 06715153e80ede4f4c4814b4e8722e7987abfa4d @bbangert committed Feb 1, 2012
Showing with 6 additions and 1 deletion.
  1. +2 −1 docs/index.rst
  2. +4 −0 retools/queue.py
View
3 docs/index.rst
@@ -14,10 +14,11 @@ retools - A Python Redis Toolset
- :mod:`Distributed Locking <retools.lock>`
- Python context-manager with lock timeouts and retries
- :mod:`Queuing <retools.queue>`
- - Simple forking worker based on `Resque`_
+ - Simple `forking worker <queue_worker>`_ based on `Resque`_
- Jobs stored as JSON in Redis for easy introspection
- `setproctitle`_ used by workers for easy worker introspection on
the command line
+ - `Rich event system <queue_events>`_ for extending job processing behavior
- Well Tested [1]_
- 100% statement coverage
- 100% condition coverage (via instrumental_)
View
4 retools/queue.py
@@ -43,6 +43,8 @@ def save_error(sender, **kwargs):
encoded in the job's JSON blob. Updating events for a job will therefore
only take effect for new jobs queued, and not existing ones on the queue.
+.. _queue_events:
+
Events
======
@@ -73,6 +75,8 @@ def save_error(sender, **kwargs):
Attributes of interest on the job instance are documented in the
:meth:`Job.__init__` method.
+.. _queue_worker:
+
Running the Worker
==================

0 comments on commit 0671515

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