A fix + verification for the reproduction in nateberkopec's gist, posted against rails/rails#54175 (open/unfixed as of 2026-09-09).
ConnectionPool#try_to_queue_for_background_connection has two bugs:
- The wait is
@available.poll(100)-- a hardcoded 100 seconds, ignoring the caller's