tpjg / goriakpbc

A golang riak client inspired by the Ruby riak-client from Basho and riakpbc from mrb
Other
127 stars 27 forks source link

Prevent starvation by releasing connections after errors #102

Closed i closed 9 years ago

tpjg commented 9 years ago

The call to request() should return the connection unless there is an error. This commit always releases the connection, also if there is no error.