Skip to content

Commit

Permalink
Update horizon.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tomswinkels authored Aug 23, 2019
1 parent 697937d commit 7484a10
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions horizon.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,11 @@ The `auto` strategy adjusts the number of worker processes per queue based on th

#### Min/Max processes Options

Horizon allows you to set the min and max processes:
The `horizon` configuration file allows you to configure the max and min processes. The queue will now autoscale up to the maximum of processes.

'minProcesses' => 1,
'maxProcesses' => 5,

The `min` strategy is the minimum number of worker processes per queue. The `max` strategy is the maximum number of worker processes per queue. The queue will now autoscale up to the maximum of processes.

#### Job Trimming

The `horizon` configuration file allows you to configure how long recent and failed jobs should be persisted (in minutes). By default, recent jobs are kept for one hour while failed jobs are kept for a week:
Expand Down

0 comments on commit 7484a10

Please sign in to comment.