Skip to content

Commit

Permalink
Make the worker run continuously
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Apr 3, 2017
1 parent 1d08242 commit 6935e6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
web: gunicorn checkinchecker.app --log-file -
worker: python checkinchecker/worker.py
2 changes: 1 addition & 1 deletion checkinchecker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
setup_loghandlers()
with Connection(conn):
worker = Worker(map(Queue, listen))
worker.work(burst=True)
worker.work()

0 comments on commit 6935e6e

Please sign in to comment.