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

Node: Add XAUTOCLAIM command. #2108

Merged

Conversation

Yury-Fridlyand
Copy link
Collaborator

No description provided.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand Yury-Fridlyand requested a review from a team as a code owner August 8, 2024 23:45
* @param start - Filters the claimed entries to those that have an ID equal or greater than the
* specified value.
* @param count - (Optional) Limits the number of claimed entries to the specified value.
* @returns An `array` containing the following elements:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
* @returns An `array` containing the following elements:
* @returns An array containing the following elements:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why?

node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
@@ -1051,7 +1062,7 @@ export async function transactionTest(
baseTransaction.bitpos(key17, 1);
responseData.push(["bitpos(key17, 1)", 1]);

if (gte("6.0.0", version)) {
if (gte(version, "6.0.0")) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

we don't support anything less than 6...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

At least we should properly check the version, otherwise it is never tested

@Yury-Fridlyand Yury-Fridlyand merged commit 73a9a78 into valkey-io:main Aug 12, 2024
8 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the node/yuryf-xautoclaim-valkey-83 branch August 12, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants