use redis for queues, sessions and cache (#618)

This commit is contained in:
Saeed Vaziry
2025-06-21 09:48:07 +02:00
committed by GitHub
parent 3196c0d954
commit 7bfa9ef91d
10 changed files with 40 additions and 9 deletions

View File

@ -15,7 +15,7 @@
|
*/
'default' => env('CACHE_DRIVER', 'file'),
'default' => env('CACHE_DRIVER', 'redis'),
/*
|--------------------------------------------------------------------------

View File

@ -44,19 +44,23 @@
],
'default' => [
'driver' => 'database',
'table' => 'jobs',
'driver' => 'redis',
'connection' => 'default',
'queue' => 'default',
'timeout' => 90,
'retry_after' => 600,
'block_for' => null,
'after_commit' => false,
],
'ssh' => [
'driver' => 'database',
'table' => 'jobs',
'driver' => 'redis',
'connection' => 'default',
'queue' => 'default',
'timeout' => 600,
'retry_after' => 600,
'block_for' => null,
'after_commit' => false,
],
],

View File

@ -18,7 +18,7 @@
|
*/
'driver' => env('SESSION_DRIVER', 'database'),
'driver' => env('SESSION_DRIVER', 'redis'),
/*
|--------------------------------------------------------------------------