Skip to content

Commit 96f85e7

Browse files
authored
fix(horizon): add stub configs for all environments that are deployed (#761)
1 parent e629b07 commit 96f85e7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# api
22

3+
## 10x.1.1 - 14 March 2024
4+
- Declare Horizon configuration stubs for all known environments
5+
36
## 10x.1.0 - 14 March 2024
47
- Use Laravel Horizon to supervise queue workers if enabled T342866
58

config/horizon.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,9 @@
194194
'timeout' => intval(env('HORIZON_TIMEOUT', 60)),
195195
],
196196
],
197+
'environments' => [
198+
'local' => ['supervisor-1' => []],
199+
'staging' => ['supervisor-1' => []],
200+
'production' => ['supervisor-1' => []],
201+
],
197202
];

0 commit comments

Comments
 (0)