Skip to content

Commit 610952d

Browse files
committed
1 parent d5215c2 commit 610952d

File tree

5 files changed

+68
-6
lines changed

5 files changed

+68
-6
lines changed

.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ DB_USERNAME=root
1515
DB_PASSWORD=
1616

1717
BROADCAST_DRIVER=log
18-
CACHE_DRIVER=file
18+
CACHE_DRIVER=redis
1919
FILESYSTEM_DRIVER=local
20-
QUEUE_CONNECTION=sync
21-
SESSION_DRIVER=file
20+
QUEUE_CONNECTION=redis
21+
SESSION_DRIVER=redis
2222
SESSION_LIFETIME=120
2323

2424
MEMCACHED_HOST=127.0.0.1

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"milon/barcode": "10.0.0",
3535
"monolog/monolog": "^3.0",
3636
"phpoffice/phpspreadsheet": "^1.29.1",
37+
"predis/predis": "^2.2",
3738
"protonemedia/laravel-cross-eloquent-search": "^3.2.0",
3839
"psr/simple-cache": "2.0",
3940
"setasign/fpdf": "^1.8",

composer.lock

Lines changed: 62 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
|
1616
*/
1717

18-
'default' => env('CACHE_DRIVER', 'file'),
18+
'default' => env('CACHE_DRIVER', 'redis'),
1919

2020
/*
2121
|--------------------------------------------------------------------------

config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119

120120
'redis' => [
121121

122-
'client' => env('REDIS_CLIENT', 'phpredis'),
122+
'client' => env('REDIS_CLIENT', 'predis'),
123123

124124
'options' => [
125125
'cluster' => env('REDIS_CLUSTER', 'redis'),

0 commit comments

Comments
 (0)