Skip to content

Commit 6c0113c

Browse files
authored
Merge pull request #385 from NottingHack/horizon-fix1
Horizon: need to add stating to config
2 parents 2bc1496 + 80e66c0 commit 6c0113c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

app/Console/Commands/Database/RefreshProceduresCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public function handle()
4444
$hostname = gethostname();
4545
if ($hostname == 'hmsdev') {
4646
$hostname = '%';
47+
} else {
48+
$hostname .= '.lspace';
4749
}
4850

4951
$proceduresDirectory = config('hms.procedures_directory');

config/horizon.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,15 @@
158158
'tries' => 3,
159159
],
160160
],
161+
162+
'rommie' => [
163+
'supervisor-1' => [
164+
'connection' => 'redis',
165+
'queue' => ['default', 'maintanance'],
166+
'balance' => 'simple',
167+
'processes' => 3,
168+
'tries' => 3,
169+
],
170+
],
161171
],
162172
];

0 commit comments

Comments
 (0)