socketry / async-redis

MIT License
83 stars 18 forks source link

Add `ensure` to Pipeline's close method #38

Closed TimWillard closed 2 years ago

TimWillard commented 2 years ago

Description

Ensure that the parent's close method is called in the event of a failure during the final flush. Without this, the connection is never returned to the pool, which can lead to deadlocks if a pool limit is set.

Types of Changes

Testing