0 Collaborator |
e93451502db054e4adeaa6634f2e1ffcc2127dd5 | Author: Miguel Serrano <miguelvps@gmail.com> | 2014-04-29 12:46:05+01:00 Remove check for available streams A connection should be pickable even if no streams are currently available. In this case, when executing the query, the connection will block reading from the streams channel [see func (c *Conn) exec(...)] until one is available. This avoids 'unavailable' errors when there are more than numConns*numStreams queries pending.