Update session config

This commit is contained in:
Daniel Supernault 2025-01-03 23:42:11 -07:00
parent cf2012c3af
commit 5c426dc026
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1
2 changed files with 37 additions and 1 deletions

View file

@ -85,11 +85,29 @@ return [
'database' => env('REDIS_DATABASE', 0), 'database' => env('REDIS_DATABASE', 0),
], ],
'session' => [
'scheme' => env('REDIS_SCHEME', 'tcp'),
'path' => env('REDIS_PATH'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DATABASE_SESSION', 1),
],
'pulse' => [
'scheme' => env('REDIS_SCHEME', 'tcp'),
'path' => env('REDIS_PATH'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DATABASE_PULSE', 2),
],
], ],
'redis:session' => [ 'redis:session' => [
'driver' => 'redis', 'driver' => 'redis',
'connection' => 'default', 'connection' => 'session',
'prefix' => 'pf_session', 'prefix' => 'pf_session',
], ],

View file

@ -143,6 +143,24 @@ return [
'database' => env('REDIS_DATABASE', 0), 'database' => env('REDIS_DATABASE', 0),
], ],
'session' => [
'scheme' => env('REDIS_SCHEME', 'tcp'),
'path' => env('REDIS_PATH'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DATABASE_SESSION', 1),
],
'pulse' => [
'scheme' => env('REDIS_SCHEME', 'tcp'),
'path' => env('REDIS_PATH'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DATABASE_PULSE', 2),
],
], ],
'dbal' => [ 'dbal' => [