Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
tryor committed Jan 23, 2019
1 parent fbdfcf9 commit 609f6e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ impl<T: Poolable> Pool<T> {
Some(ref_inner) => {
match ref_inner.lock(){
Ok(mut inner) => {
info!("inner.idle.len(){:?}", inner.idle.len());
for (k, mut vs) in inner.idle.iter_mut(){
info!("inner.idle.{:?}.len(){:?}", k, vs.len());
vs.clear();
}
inner.idle.clear();
},
_ => {}
Expand Down

0 comments on commit 609f6e6

Please sign in to comment.