From 908197ae0778d96154712fc973b2c01af21cac18 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Mon, 15 Feb 2021 19:35:42 +0900 Subject: [PATCH] configuration changes --- config/app.php | 1 + config/database.php | 21 --------------------- config/horizon.php | 8 ++++---- config/session.php | 6 +++--- 4 files changed, 8 insertions(+), 28 deletions(-) diff --git a/config/app.php b/config/app.php index c136d00cd..81513db1c 100644 --- a/config/app.php +++ b/config/app.php @@ -153,6 +153,7 @@ return [ Collective\Html\HtmlServiceProvider::class, Laravel\Socialite\SocialiteServiceProvider::class, Khill\Lavacharts\Laravel\LavachartsServiceProvider::class, + SocialiteProviders\Manager\OAuth2\AbstractProvider::class, /* * Application Service Providers... diff --git a/config/database.php b/config/database.php index 32a71c46f..1d9734f3e 100644 --- a/config/database.php +++ b/config/database.php @@ -33,12 +33,6 @@ return [ 'connections' => [ - 'sqlite' => [ - 'driver' => 'sqlite', - 'database' => env('DB_DATABASE', database_path('database.sqlite')), - 'prefix' => '', - ], - 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', '127.0.0.1'), @@ -54,21 +48,6 @@ return [ 'engine' => null, ], - 'wiki' => [ - 'driver' => 'mysql', - 'host' => env('WIKI_DB_HOST', '127.0.0.1'), - 'port' => env('WIKI_DB_PORT', '3306'), - 'database' => env('WIKI_DB_DATABASE', 'dokureg'), - 'username' => env('WIKI_DB_USERNAME', 'dokureg'), - 'password' => env('WIKI_DB_PASSWORD', ''), - 'unix_socket' => env('DB_SOCKET', ''), - 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_unicode_ci', - 'prefix' => '', - 'strict' => true, - 'engine' => null, - ], - 'pgsql' => [ 'driver' => 'pgsql', 'host' => env('DB_HOST', '127.0.0.1'), diff --git a/config/horizon.php b/config/horizon.php index 3f81436ae..751c2fe70 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -52,7 +52,7 @@ return [ | */ - 'prefix' => env('HORIZON_PREFIX', 'horizon:'), + 'prefix' => env('HORIZON_PREFIX', 'horizon_services:'), /* |-------------------------------------------------------------------------- @@ -125,7 +125,7 @@ return [ | */ - 'memory_limit' => 64, + 'memory_limit' => 128, /* |-------------------------------------------------------------------------- @@ -150,7 +150,7 @@ return [ 'miningtaxes', ], 'balance' => 'auto', - 'processes' => 12, + 'processes' => 10, 'tries' => 3, ], ], @@ -166,7 +166,7 @@ return [ 'miningtaxes', ], 'balance' => 'auto', - 'processes' => 12, + 'processes' => 10, 'tries' => 3, ], ], diff --git a/config/session.php b/config/session.php index 38829b77c..3f475cfc0 100644 --- a/config/session.php +++ b/config/session.php @@ -44,7 +44,7 @@ return [ | */ - 'encrypt' => false, + 'encrypt' => true, /* |-------------------------------------------------------------------------- @@ -124,7 +124,7 @@ return [ 'cookie' => env( 'SESSION_COOKIE', - str_slug(env('APP_NAME', 'laravel'), '_').'_session' + str_slug(env('APP_NAME', 'w4rp_services'), '_').'_session' ), /* @@ -177,7 +177,7 @@ return [ | */ - 'http_only' => true, + 'http_only' => false, /* |--------------------------------------------------------------------------