From adc2d02c49fbebc377b20956d7002817b2514049 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Wed, 1 Sep 2021 03:08:07 +0900 Subject: [PATCH] update: horizon config --- config/horizon.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/horizon.php b/config/horizon.php index bd9657e0..aeccd4e1 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -151,7 +151,7 @@ return [ | */ - 'memory_limit' => 64, + 'memory_limit' => 32, /* |-------------------------------------------------------------------------- @@ -166,7 +166,7 @@ return [ 'environments' => [ 'production' => [ - 'supervisor-1' => [ + 'V2board' => [ 'connection' => 'redis', 'queue' => [ 'traffic_fetch', @@ -176,15 +176,15 @@ return [ 'stat_server' ], 'balance' => 'auto', - 'minProcesses' => 8, - 'maxProcesses' => 16, + 'minProcesses' => 1, + 'maxProcesses' => 64, 'tries' => 1, 'nice' => 0, ], ], 'local' => [ - 'supervisor-1' => [ + 'V2board' => [ 'connection' => 'redis', 'queue' => [ 'traffic_fetch', @@ -194,8 +194,8 @@ return [ 'stat_server' ], 'balance' => 'auto', - 'minProcesses' => 8, - 'maxProcesses' => 16, + 'minProcesses' => 1, + 'maxProcesses' => 64, 'tries' => 1, 'nice' => 0, ],