Bug-fix for redis connection
Relates #113 (closed)
Fixes:
2017-03-02_17:32:46.77638 2017/03/02 17:32:46 error: Failed to connect to redis: dial unix: missing address
- Is there a reason why
ReadTimeout
is an integer, not atime.Duration
as we do it in other places?
- Nope, now it's a
time.Duration
-
ReadTimeout
forPubSub.Receive
doesn't make sense.
- Fair enough, now using KeepAlivePeriod for PubSub.
- We have
ReadTimeout
, but I don't see equivalents forConnectTimeout
andWriteTimeout
. Is this intended?
- Support for
WriteTimeout
added