Skip to content
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

feat: Implement CLIENT UNPAUSE #199

Merged
merged 4 commits into from
Feb 26, 2021
Merged

feat: Implement CLIENT UNPAUSE #199

merged 4 commits into from
Feb 26, 2021

Conversation

craigpastro
Copy link
Contributor

@craigpastro craigpastro commented Feb 26, 2021

Part of #174. Sorry, a lot of these PRs recently, but it's quite fun 😄 Thanks for all the reviews until now @uki00a!

By the way the docs say

Since Redis 6.2, the recommended mode for client pause is WRITE. This mode will stop all replication traffic, can be aborted with the CLIENT UNPAUSE command.

and as far as I can tell the unpause command only works on clients paused using WRITE mode. I wonder if it is worth adding some documentation?

@uki00a uki00a self-requested a review February 26, 2021 00:37
Copy link
Member

@uki00a uki00a left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @siyopao! 👍

@uki00a uki00a merged commit b6074a3 into denodrivers:master Feb 26, 2021
@uki00a uki00a mentioned this pull request Feb 26, 2021
16 tasks
@uki00a
Copy link
Member

uki00a commented Feb 26, 2021

I wonder if it is worth adding some documentation?

I personally don't think it needs to be added, since there is a link to the reference in the JSDoc comments. 🙂

@craigpastro craigpastro deleted the impl-client-unpause branch February 26, 2021 23:29
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.

2 participants