mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: horizon auth
This commit is contained in:
parent
35e11a6816
commit
fabb49baea
@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
use Laravel\Horizon\Horizon;
|
||||
use Laravel\Horizon\HorizonApplicationServiceProvider;
|
||||
|
@ -70,7 +70,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'middleware' => ['web'],
|
||||
'middleware' => ['web', 'admin'],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@ -168,9 +168,16 @@ return [
|
||||
'production' => [
|
||||
'supervisor-1' => [
|
||||
'connection' => 'redis',
|
||||
'queue' => ['default'],
|
||||
'balance' => 'simple',
|
||||
'processes' => 10,
|
||||
'queue' => [
|
||||
'traffic_fetch',
|
||||
'server_log',
|
||||
'send_email',
|
||||
'send_telegram',
|
||||
'stat_server'
|
||||
],
|
||||
'balance' => 'auto',
|
||||
'minProcesses' => 8,
|
||||
'maxProcesses' => 16,
|
||||
'tries' => 1,
|
||||
'nice' => 0,
|
||||
],
|
||||
@ -187,8 +194,8 @@ return [
|
||||
'stat_server'
|
||||
],
|
||||
'balance' => 'auto',
|
||||
'minProcesses' => 1,
|
||||
'maxProcesses' => 10,
|
||||
'minProcesses' => 8,
|
||||
'maxProcesses' => 16,
|
||||
'tries' => 1,
|
||||
'nice' => 0,
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user