Skip to content

Commit

Permalink
Merge branch 'fix_memory_config' into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 12, 2020
2 parents db89b33 + 8be1829 commit 80ff813
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/horizon.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@
| Memory Limit (MB)
|--------------------------------------------------------------------------
|
| This value describes the maximum amount of memory the Horizon worker
| may consume before it is terminated and restarted. You should set
| this value according to the resources available to your server.
| This value describes the maximum amount of memory the Horizon master
| supervisor may consume before it is terminated and restarted. For
| configuring these limits on your workers, see the next section.
|
*/

Expand All @@ -170,6 +170,7 @@
'queue' => ['default'],
'balance' => 'auto',
'maxProcesses' => 1,
'memory' => 128,
'tries' => 1,
'nice' => 0,
],
Expand Down

0 comments on commit 80ff813

Please sign in to comment.