implement redis key ttl
This commit is contained in:
		| @@ -22,4 +22,5 @@ type RedisConfig struct { | ||||
| 	RedisDB          int    `yaml:"redisDB" env:"REDIS_DB" default:"0" json:"redisDB,omitempty"` | ||||
| 	RedisTLS         bool   `yaml:"redisTLS" env:"REDIS_TLS" default:"false" json:"redisTLS,omitempty"` | ||||
| 	RedisTLSInsecure bool   `yaml:"redisTLSInsecure" env:"REDIS_TLS_INSECURE" default:"false" json:"redisTLSInsecure,omitempty"` | ||||
| 	RedisKeyTTL      string `yaml:"redisKeyTTL" env:"REDIS_KEY_TTL" default:"24h" json:"redisKeyTTL,omitempty"` | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user