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, // 重试间隔,单位秒