forked from apache/cassandra-gocql-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure all connections are observed
Currently, control connections used for example to discover protocol version are not observable using connection observer. This change aims to make sure all connections created by the driver are seen by the connection observer. The `dialWithoutObserver` name is intentionally longer than `dial` so that one must explicitly acknowledge the connection will not be observed when using the function.
- Loading branch information
1 parent
59996b5
commit 0b5041c
Showing
2 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters