Browse Source

fix comment formatting

pull/1/head
Brett Langdon 11 years ago
parent
commit
fea54d9b3b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      contents/writing/about/python-redis-queue-workers/index.md

+ 2
- 1
contents/writing/about/python-redis-queue-workers/index.md View File

@ -35,7 +35,8 @@ def process(job_id, job_data):
def main(client, processing_queue, all_queue):
while True:
# try to fetch a job id from "<all_queue>:jobs" and push it to "<processing_queue>:jobs"
# try to fetch a job id from "<all_queue>:jobs"
# and push it to "<processing_queue>:jobs"
job_id = client.brpoplpush(all_queue, processing_queue)
if not job_id:
continue


Loading…
Cancel
Save