We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b261c commit 406be9eCopy full SHA for 406be9e
rcache.go
@@ -42,6 +42,7 @@ func New(redisURL string, logger logger) *Cache {
42
if err == nil {
43
opts.Port = i
44
}
45
+ logger.Info("trying cache with defaults", opts)
46
} else {
47
opts = &xredis.Options{}
48
u, err := url.Parse(redisURL)
@@ -62,9 +63,9 @@ func New(redisURL string, logger logger) *Cache {
62
63
return nil
64
65
opts.Port = port
66
+ logger.Info("trying cache with redis url", opts)
67
68
- logger.Info("trying cache", opts)
69
client := xredis.SetupClient(opts)
70
pong, err := client.Ping()
71
if err != nil {
0 commit comments