forked from rails/rails
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checkin even stale connections from reap
Previously when we reaped connections, we checked if they were inactive (connected and responding to ping in most adapters) and if so we would remove the connection instead of checking it back in. Removing the connection would not wake a thread waiting on the queue for a connection. This commit changes that to always re-check in the connection.
- Loading branch information
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters