fix: update Redis configuration to use SSL and adjust related settings

This commit is contained in:
Ardeman
2025-04-23 19:09:24 +08:00
parent 02d8a509ff
commit 987ac2fe4a
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ type Redis struct {
DB int `mapstructure:"db"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
SslMode string `mapstructure:"ssl-mode"`
SSL bool `mapstructure:"ssl"`
Debug bool `mapstructure:"debug"`
MaxIdleConnectionsInSecond int `mapstructure:"max-idle-connections-in-second"`
MaxOpenConnectionsInSecond int `mapstructure:"max-open-connections-in-second"`