mperham / connection_pool

Generic connection pooling for Ruby
MIT License
1.63k stars 143 forks source link

add info about stats to README #104

Closed moofkit closed 6 years ago

moofkit commented 6 years ago

This issue https://github.com/mperham/connection_pool/issues/94 is already closed by https://github.com/mperham/connection_pool/pull/97 PR. But it is unclear to users that they have already opportunity to get stats without accessing instance variables (last comment https://github.com/mperham/connection_pool/issues/94#issuecomment-371143167 is relatively fresh).

This PR updates README and changes some test cases to use public methods instead of internal instance variables.

mperham commented 6 years ago

thank you!