refactor(lib): improve client and h1 logs

This commit is contained in:
Sean McArthur
2019-02-15 15:58:35 -08:00
parent 877606d5c8
commit c0e08a41cc
4 changed files with 20 additions and 9 deletions

View File

@@ -680,6 +680,7 @@ impl<T: Poolable> Future for Checkout<T> {
impl<T> Drop for Checkout<T> {
fn drop(&mut self) {
if self.waiter.take().is_some() {
trace!("checkout dropped for {:?}", self.key);
if let Some(Ok(mut inner)) = self.pool.inner.as_ref().map(|i| i.lock()) {
inner.clean_waiters(&self.key);
}