mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Revert "Remove unused fields"
This reverts commit 2c1973de4634a6a83d3ba09bdcde392aaf7cfb71.
This commit is contained in:
parent
c7733fe52e
commit
32c7858e61
@ -96,6 +96,11 @@ type NetConn struct {
|
||||
|
||||
writeDeadlineLock sync.Mutex
|
||||
writeDeadline time.Time
|
||||
|
||||
// nbOperCnt Tracks how many operations performing simultaneously
|
||||
nbOperCnt int
|
||||
// nbOperMu Used to prevent concurrent SetBlockingMode calls
|
||||
nbOperMu sync.Mutex
|
||||
}
|
||||
|
||||
func NewNetConn(conn net.Conn, fakeNonBlockingIO bool) *NetConn {
|
||||
|
Loading…
x
Reference in New Issue
Block a user