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 +# 用于阻止重复安装