Skip to content

fix(pool): chain promise handlers to prevent unhandled rejections #3035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

PavelPashov
Copy link
Contributor

@PavelPashov PavelPashov commented Jul 25, 2025

Description

fixes #3034


Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

@PavelPashov PavelPashov marked this pull request as ready for review July 25, 2025 08:35
@PavelPashov PavelPashov force-pushed the fix/client-pool-race-conditions branch from 5cb3b14 to bce8f2b Compare July 25, 2025 09:13
@PavelPashov PavelPashov force-pushed the fix/client-pool-race-conditions branch from bce8f2b to 80bb980 Compare July 25, 2025 09:59
@PavelPashov PavelPashov changed the title fix(pool): prevent race conditions in pool client return fix(pool): chain promise handlers to prevent unhandled rejections Jul 25, 2025
@nkaradzhov nkaradzhov merged commit ff8319d into redis:master Jul 25, 2025
14 checks passed
@PavelPashov PavelPashov deleted the fix/client-pool-race-conditions branch July 25, 2025 13:44
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.

Unhandled promise when client pool receives multiple errors
2 participants