Skip to content

Commit ab7cb8b

Browse files
authored
chore: fixup Redis example config
1 parent 1ad741c commit ab7cb8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/redis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ type RedisProvider struct {
116116
}
117117

118118
// Init initializes redis session provider.
119-
// configs: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180,prefix=session,tls=false
119+
// configs: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180,prefix=session,tls=true
120120
func (p *RedisProvider) Init(maxlifetime int64, configs string) (err error) {
121121
p.duration, err = time.ParseDuration(fmt.Sprintf("%ds", maxlifetime))
122122
if err != nil {

0 commit comments

Comments
 (0)