From 208bdffdf7c23ce0f2980682479ca3baa7df1d20 Mon Sep 17 00:00:00 2001 From: xbkaishui Date: Wed, 22 Jul 2020 14:02:21 +0800 Subject: [PATCH] update comment --- database/gredis/gredis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/gredis/gredis.go b/database/gredis/gredis.go index a2fbf462f..45de72de1 100644 --- a/database/gredis/gredis.go +++ b/database/gredis/gredis.go @@ -46,8 +46,8 @@ type Config struct { IdleTimeout time.Duration // Maximum idle time for connection (default is 10 seconds, not allowed to be set to 0) MaxConnLifetime time.Duration // Maximum lifetime of the connection (default is 30 seconds, not allowed to be set to 0) ConnectTimeout time.Duration // Dial connection timeout. - TLS bool //support tls - TLSSkipVerify bool //tls skip verify + TLS bool // Specifies the config to use when a TLS connection is dialed. + TLSSkipVerify bool // Disables server name verification when connecting over TLS } // Pool statistics.