Browse Source

use backticks

pull/1/head
Brett Langdon 11 years ago
parent
commit
552b576eb4
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      README.md

+ 6
- 6
README.md View File

@ -38,12 +38,12 @@ manager = Manager('__main__.target')
### Queues
There are a few different queues that are used. The job queues are just redis lists, manager/worker lists are sets and jobs are hashes.
* "all:managers" - a set of all managers
* "all:jobs" - a queue that all workers can pull jobs from, the values are just the job ids
* "job:<job_id>" - a hash of the job data
* "<manager>:workers" - a set of all workers belonging to a given manager
* "<manager>:jobs" - a queue of jobs for a specific manager, workers will try to pull from here before `all:jobs`, the values are just the job ids
* "<worker>:jobs" - a queue of jobs for a specific worker, this is meant as a in progress queue for each worker, the workers will pull jobs into this queue from either `<manager>:jobs` or `all:jobs`, the values are just the job ids
* `all:managers` - a set of all managers
* `all:jobs` - a queue that all workers can pull jobs from, the values are just the job ids
* `job:<job_id>` - a hash of the job data
* `<manager>:workers` - a set of all workers belonging to a given manager
* `<manager>:jobs` - a queue of jobs for a specific manager, workers will try to pull from here before `all:jobs`, the values are just the job ids
* `<worker>:jobs` - a queue of jobs for a specific worker, this is meant as a in progress queue for each worker, the workers will pull jobs into this queue from either `<manager>:jobs` or `all:jobs`, the values are just the job ids
## Basic Usage


Loading…
Cancel
Save