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

Use sadd? instead of deprecated sadd #216

Merged
merged 1 commit into from
May 31, 2023
Merged

Conversation

nikita8
Copy link
Contributor

@nikita8 nikita8 commented May 30, 2023

Fixes #215

@@ -59,7 +59,7 @@ def record_success(id, stats: nil)

def record_flaky(id, stats: nil)
redis.pipelined do |pipeline|
pipeline.sadd(
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@nikita8 nikita8 May 30, 2023

Choose a reason for hiding this comment

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

It's not removed yet and returns integer now https://github.com/redis/redis-rb/blob/master/CHANGELOG.md but is deprecated here.

@nikita8 nikita8 merged commit ba83a70 into master May 31, 2023
5 of 6 checks passed
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems May 31, 2023 16:24 Inactive
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.

0.28.0 version is not compatible with redis 4.8.1+
3 participants