summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/run_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/run_worker.py b/examples/run_worker.py
index e87ec89..4853788 100644
--- a/examples/run_worker.py
+++ b/examples/run_worker.py
@@ -7,4 +7,4 @@ conn.push(Redis())
if __name__ == '__main__':
q = Queue()
- Worker(q).work_forever()
+ Worker(q).work()