mirror of https://github.com/vapor/docs.git
Update instructions for Heroku (#503)
This commit is contained in:
parent
547078532d
commit
216bb2e601
|
|
@ -83,7 +83,7 @@ app.queues.add(emailJob)
|
|||
To start a new queue worker, run `vapor run queues`. You can also specify a specific type of worker to run: `vapor run queues --queue emails`.
|
||||
|
||||
!!! tip
|
||||
Workers should stay running in production. Consult your hosting provider to find out how to keep long-running processes alive. Heroku, for example, allows you to specify "worker" dynos like this in your Procfile: `worker: Run run queues`
|
||||
Workers should stay running in production. Consult your hosting provider to find out how to keep long-running processes alive. Heroku, for example, allows you to specify "worker" dynos like this in your Procfile: `worker: Run queues`. With this in place, you can start workers on the Dashboard/Resources tab, or with `heroku ps:scale worker=1` (or any number of dynos preferred).
|
||||
|
||||
### Running Workers in-process
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue