This commit is contained in:
wangjinlei
2021-02-06 13:41:36 +08:00
parent 72b16d5a7a
commit c715aefeca
5 changed files with 174 additions and 39 deletions

View File

@@ -12,7 +12,7 @@
return [
// 'connector' => 'Sync'
'connector' => 'Redis', // Redis 驱动
'expire' => null, // 任务的过期时间默认为60秒; 若要禁用,则设置为 null
'expire' => 60, // 任务的过期时间默认为60秒; 若要禁用,则设置为 null
'default' => 'mail', // 默认的队列名称
'host' => '127.0.0.1', // redis 主机ip
'port' => 6379, // redis 端口