diff --git a/src/invidious/connection/pool.cr b/src/invidious/connection/pool.cr index cf5a918a..3841636c 100644 --- a/src/invidious/connection/pool.cr +++ b/src/invidious/connection/pool.cr @@ -37,8 +37,6 @@ module Invidious::ConnectionPool # Prevent broken client from being checked back into the pool http_client.close raise ConnectionPool::Error.new(ex.message, cause: ex) - ensure - pool.release(http_client) end rescue ex : DB::PoolTimeout # Failed to checkout a client