Use sync as default queue driver
This commit is contained in:
parent
4529d1e219
commit
0105c6b016
|
|
@ -66,7 +66,7 @@ MAIL_ENCRYPTION = null
|
||||||
# Change below lines only if you know what they mean!
|
# Change below lines only if you know what they mean!
|
||||||
CACHE_DRIVER = file
|
CACHE_DRIVER = file
|
||||||
SESSION_DRIVER = file
|
SESSION_DRIVER = file
|
||||||
QUEUE_DRIVER = database
|
QUEUE_DRIVER = sync
|
||||||
|
|
||||||
REDIS_HOST = 127.0.0.1
|
REDIS_HOST = 127.0.0.1
|
||||||
REDIS_PASSWORD = null
|
REDIS_PASSWORD = null
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'default' => env('QUEUE_DRIVER', 'database'),
|
'default' => env('QUEUE_DRIVER', 'sync'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,4 @@ return [
|
||||||
'请您手动打开终端或 PowerShell 执行以下命令以完成升级:',
|
'请您手动打开终端或 PowerShell 执行以下命令以完成升级:',
|
||||||
'Please open terminal or PowerShell to complete upgrade:',
|
'Please open terminal or PowerShell to complete upgrade:',
|
||||||
'<code>php artisan migrate --force</code>',
|
'<code>php artisan migrate --force</code>',
|
||||||
'',
|
|
||||||
'然后修改 .env 文件,将 <code>QUEUE_DRIVER</code> 的值改为 <code>database</code>。(使用 Redis 的用户请修改为 <code>redis</code>)',
|
|
||||||
'Then, please edit your ".env" file. Change the value of <code>QUEUE_DRIVER</code> from <code>sync</code> to <code>database</code>. Redis users please change it to <code>redis</code>.',
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user