From 1b95efa9319387e8744d852a836bb9638d3bc390 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 21 Apr 2019 13:19:51 -0600 Subject: [PATCH] Update horizon config --- config/horizon.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/config/horizon.php b/config/horizon.php index 585495bcd..0f6cf76f7 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -40,7 +40,9 @@ return [ */ 'waits' => [ - 'redis:default' => 60, + 'redis:feed' => 30, + 'redis:default' => 30, + 'redis:high' => 30, ], /* @@ -74,8 +76,8 @@ return [ 'production' => [ 'supervisor-1' => [ 'connection' => 'redis', - 'queue' => ['default'], - 'balance' => 'simple', + 'queue' => ['high', 'default', 'feed'], + 'balance' => 'auto', 'processes' => 20, 'tries' => 3, ], @@ -84,9 +86,9 @@ return [ 'local' => [ 'supervisor-1' => [ 'connection' => 'redis', - 'queue' => ['default'], - 'balance' => 'simple', - 'processes' => 10, + 'queue' => ['high', 'default', 'feed'], + 'balance' => 'auto', + 'processes' => 20, 'tries' => 3, ], ],