This commit is contained in:
2025-10-14 15:10:13 +08:00
parent 8aed3e5aac
commit d2a46c4738
15 changed files with 512 additions and 15 deletions

View File

@@ -1,9 +1,9 @@
<?php
return [
'default' => [
'host' => 'redis://127.0.0.1:6379',
'host' => 'redis://192.168.1.42:6379',
'options' => [
'auth' => null, // 密码,字符串类型,可选参数
'auth' => 'Chaozg123.', // 密码,字符串类型,可选参数
'db' => 0, // 数据库
'prefix' => '', // key 前缀
'max_attempts' => 5, // 消费失败后,重试次数