webman_ad/config/plugin/webman/redis-queue/redis.php
2025-02-23 16:49:13 +08:00

14 lines
435 B
PHP

<?php
return [
'default' => [
'host' => 'redis://'.env('REDIS_HOST').':6379',
'options' => [
'auth' => null, // 密码,字符串类型,可选参数
'db' => 3, // 数据库
'prefix' => '', // key 前缀
'max_attempts' => 5, // 消费失败后,重试次数
'retry_seconds' => 5, // 重试间隔,单位秒
]
],
];