feat(backend): added comment about TLS for redis
This commit is contained in:
parent
e9123fc6c2
commit
ae0e9a1167
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ package redis
|
|||
import "time"
|
||||
|
||||
type Redis struct {
|
||||
ConnectionURL string `env:"REDIS_STRING"`
|
||||
ConnectionURL string `env:"REDIS_STRING"` // use "rediss" instead of "redis" schema for TLS connection
|
||||
MaxLength int64 `env:"REDIS_STREAMS_MAX_LEN,default=100000"`
|
||||
ReadCount int64 `env:"REDIS_STREAMS_READ_COUNT,default=1"`
|
||||
ReadBlockDuration time.Duration `env:"REDIS_STREAMS_READ_BLOCK_DURATION,default=200ms"`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue