Skip to content

Conversation

@PeterJCLaw
Copy link
Contributor

Description of change

This aligns to the docs which indicate that this error type will be used when pool attempts to create more connections than are allowed.

Fixes #3237

Pull Request check-list

Please make sure to review and check all of these items:

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
    Unknown
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
    Docs already suggested this was the behaviour.
  • Is there an example added to the examples folder (if applicable)?

This aligns to the docs which indicate that this error type will
be used when pool attempts to create more connections than are
allowed.

Fixes redis#3237
@jit-ci
Copy link

jit-ci bot commented Nov 30, 2025

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

Copy link
Collaborator

@petyaslavova petyaslavova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @PeterJCLaw , thank you for your contribution!
The change LGTM.
It is a non-breaking change since the MaxConnectionsError is a subclass of ConnectionError

@petyaslavova petyaslavova merged commit 91b8c4a into redis:master Dec 1, 2025
135 of 139 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MaxConnectionsError not used consistently

2 participants