Skip to content

fixes #2524 delaying graceful exit while pingInterval is set #2525

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

jorenvandeweyer
Copy link
Contributor

Description

Fixes #2524 delaying graceful exit while pingInterval is set.


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)?

@apazzolini
Copy link

Anything blocking this? I'm also running into issues with graceful exits after enabling pingInterval.

@jorenvandeweyer
Copy link
Contributor Author

Normally not, a contributor should just be able to merge it without any issues.

@jorenvandeweyer
Copy link
Contributor Author

@chayim could you review this please?

@leibale
Copy link
Contributor

leibale commented Aug 16, 2023

@apazzolini @jorenvandeweyer sorry about that, I'll take care of it soon

@leibale leibale merged commit bc8abd5 into redis:master Aug 23, 2023
@leibale
Copy link
Contributor

leibale commented Aug 23, 2023

@jorenvandeweyer @apazzolini redis@4.6.8/@redis/client@1.5.9 are on npm 🎉

@jorenvandeweyer jorenvandeweyer deleted the bugfix/ping-interval branch August 28, 2023 09:34
florian-schunk pushed a commit to florian-schunk/node-redis that referenced this pull request Jun 18, 2025
…dis#2525)

* fixes redis#2524

* `clearTimeout` in `disconnect` too

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pingInterval option delays graceful exit
3 participants