From 02aaf8a02c0dbb939e1dc3f4cd8e3aa04bbeb91f Mon Sep 17 00:00:00 2001 From: Xboard <147830212+cedar2025@users.noreply.github.com> Date: Thu, 16 Nov 2023 02:21:16 +0800 Subject: [PATCH] Update .env.example --- .env.example | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 16e2c83..1972603 100644 --- a/.env.example +++ b/.env.example @@ -28,12 +28,10 @@ REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 -#默认启用redis,防止报错,在安装redis后自行将file改为redis提升性能 +#默认将队列驱动和缓存驱动都修改为了redis,请务必安装redis BROADCAST_DRIVER=log -CACHE_DRIVER=file -QUEUE_CONNECTION=file -SESSION_DRIVER=file -SESSION_LIFETIME=120 +CACHE_DRIVER=redis +QUEUE_CONNECTION=redis MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io @@ -46,4 +44,4 @@ MAIL_FROM_NAME=null MAILGUN_DOMAIN= MAILGUN_SECRET= -# 用于阻止重复安装 \ No newline at end of file +# 用于阻止重复安装