From 9393324f7354d60a90cebfe1c8e8a2a0bc38bb02 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Mon, 30 Nov 2020 10:54:27 +0800 Subject: [PATCH] 20201112 --- application/extra/queue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/extra/queue.php b/application/extra/queue.php index 195567c..660b1b5 100644 --- a/application/extra/queue.php +++ b/application/extra/queue.php @@ -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 端口