Martin Sucha
Martin Sucha
> I'm not sure if that would solve the problem. @mmatczuk Why? Could you please elaborate on what issues do you see with this code? Do you have some alternatives...
FYI, we have something like this in our fork of gocql https://github.com/kiwicom/gocql/blob/master/tokenawarelatency.go (but it is a bit different to the java policy linked above).
I would prefer if this worked with the custom dialer. There is only a single place that casts to `*net.TCPAddr` and it sets the default port. Wouldn't the following patch...