Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 18, 2019
1 parent c667bbc commit 1ce8941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion horizon.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Supervisor configuration files are typically stored in the `/etc/supervisor/conf
stdout_logfile=/home/forge/app.com/horizon.log
stopwaitsecs=3600

> {note} You should ensure that the value of `stopwaitsecs` is greater than your longest running job; if not, Supervisor may kill the job before finishing while Horizon is being terminated.
> {note} You should ensure that the value of `stopwaitsecs` is greater than the number of seconds consumed by your longest running job. Otherwise, Supervisor may kill the job before it is finished processing.
#### Starting Supervisor

Expand Down
4 changes: 2 additions & 2 deletions queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,10 @@ Supervisor configuration files are typically stored in the `/etc/supervisor/conf
stdout_logfile=/home/forge/app.com/worker.log
stopwaitsecs=3600

> {note} You should ensure that the value of `stopwaitsecs` is greater than your longest running job; if not, Supervisor may kill the job before finishing while the worker is being terminated.
In this example, the `numprocs` directive will instruct Supervisor to run 8 `queue:work` processes and monitor all of them, automatically restarting them if they fail. You should change the `queue:work sqs` portion of the `command` directive to reflect your desired queue connection.

> {note} You should ensure that the value of `stopwaitsecs` is greater than the number of seconds consumed by your longest running job. Otherwise, Supervisor may kill the job before it is finished processing.
#### Starting Supervisor

Once the configuration file has been created, you may update the Supervisor configuration and start the processes using the following commands:
Expand Down

0 comments on commit 1ce8941

Please sign in to comment.