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