From 2f14ba9cd7563afe640bd3d7ab9e4ec967e6ce97 Mon Sep 17 00:00:00 2001 From: hgc Date: Sun, 23 Feb 2025 16:49:13 +0800 Subject: [PATCH] =?UTF-8?q?redis-queue=E6=94=B93=E5=8F=B7=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugin/webman/redis-queue/redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/plugin/webman/redis-queue/redis.php b/config/plugin/webman/redis-queue/redis.php index cefa64d..0f18d4d 100644 --- a/config/plugin/webman/redis-queue/redis.php +++ b/config/plugin/webman/redis-queue/redis.php @@ -4,7 +4,7 @@ return [ 'host' => 'redis://'.env('REDIS_HOST').':6379', 'options' => [ 'auth' => null, // 密码,字符串类型,可选参数 - 'db' => 0, // 数据库 + 'db' => 3, // 数据库 'prefix' => '', // key 前缀 'max_attempts' => 5, // 消费失败后,重试次数 'retry_seconds' => 5, // 重试间隔,单位秒