feat: 允许单独配置 redis-url
All checks were successful
Publish Project / build (push) Successful in 4m23s

This commit is contained in:
2025-07-10 20:40:36 +08:00
parent 1e0417c814
commit de10bd7feb
5 changed files with 27 additions and 8 deletions

View File

@@ -33,6 +33,11 @@ server-info:
# 不填则自动设置为 25577
port: 25577
# Redis 配置
# 如果注释该选项则默认使用 HamsterCore 中的连接配置
# 否则 HamsterBall 将会使用与 HamsterCore 不同的 Redis 链接
# redis-url: redis://localhost:6379/0?clientName=HamsterBall&timeout=5s
# 数据库连接池配置
# 如果注释该选项则默认使用 HamsterCore 中的连接池配置
# 否则 HamsterBall 将会使用与 HamsterCore 不同的数据库链接