From 0105c6b016fe5087efec62cedf3faddfacea0e8f Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 5 Jul 2019 23:25:15 +0800 Subject: [PATCH] Use `sync` as default queue driver --- .env.example | 2 +- config/queue.php | 2 +- database/update_scripts/update-4.3.6-to-4.3.7.php | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index e29ec316..f7bac5a6 100644 --- a/.env.example +++ b/.env.example @@ -66,7 +66,7 @@ MAIL_ENCRYPTION = null # Change below lines only if you know what they mean! CACHE_DRIVER = file SESSION_DRIVER = file -QUEUE_DRIVER = database +QUEUE_DRIVER = sync REDIS_HOST = 127.0.0.1 REDIS_PASSWORD = null diff --git a/config/queue.php b/config/queue.php index 7a8e1237..d0f732a6 100644 --- a/config/queue.php +++ b/config/queue.php @@ -15,7 +15,7 @@ return [ | */ - 'default' => env('QUEUE_DRIVER', 'database'), + 'default' => env('QUEUE_DRIVER', 'sync'), /* |-------------------------------------------------------------------------- diff --git a/database/update_scripts/update-4.3.6-to-4.3.7.php b/database/update_scripts/update-4.3.6-to-4.3.7.php index 2d9a4803..613addeb 100644 --- a/database/update_scripts/update-4.3.6-to-4.3.7.php +++ b/database/update_scripts/update-4.3.6-to-4.3.7.php @@ -4,7 +4,4 @@ return [ '请您手动打开终端或 PowerShell 执行以下命令以完成升级:', 'Please open terminal or PowerShell to complete upgrade:', 'php artisan migrate --force', - '', - '然后修改 .env 文件,将 QUEUE_DRIVER 的值改为 database。(使用 Redis 的用户请修改为 redis)', - 'Then, please edit your ".env" file. Change the value of QUEUE_DRIVER from sync to database. Redis users please change it to redis.', ];