From 80e66c0863102d48d3036a3a07c39c0069434a73 Mon Sep 17 00:00:00 2001 From: dpslwk Date: Sun, 19 May 2019 23:43:43 +0100 Subject: [PATCH] Horizon: need to add stating to config --- .../Commands/Database/RefreshProceduresCommand.php | 2 ++ config/horizon.php | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/app/Console/Commands/Database/RefreshProceduresCommand.php b/app/Console/Commands/Database/RefreshProceduresCommand.php index e684ffb8f..a1ae71c42 100644 --- a/app/Console/Commands/Database/RefreshProceduresCommand.php +++ b/app/Console/Commands/Database/RefreshProceduresCommand.php @@ -44,6 +44,8 @@ public function handle() $hostname = gethostname(); if ($hostname == 'hmsdev') { $hostname = '%'; + } else { + $hostname .= '.lspace'; } $proceduresDirectory = config('hms.procedures_directory'); diff --git a/config/horizon.php b/config/horizon.php index 38e5136d6..815607d91 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -158,5 +158,15 @@ 'tries' => 3, ], ], + + 'rommie' => [ + 'supervisor-1' => [ + 'connection' => 'redis', + 'queue' => ['default', 'maintanance'], + 'balance' => 'simple', + 'processes' => 3, + 'tries' => 3, + ], + ], ], ];