-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ZINTER command, added to Redis in 6.2
- Loading branch information
1 parent
f759203
commit 68fe7b5
Showing
5 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68fe7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When will this code be released, @skipkayhil ?
68fe7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a member of the repo, so you would have to ask someone like @byroot
You can use the github version in your Gemfile if you need it sooner (I've been doing that here):
https://github.com/SkipKayhil/friday/blob/44b26d2fb610947ba903177dbfc2a7d50bb1ca45/Gemfile#L15
68fe7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skipkayhil I tried doing that by
gem 'redis', :git => "git://github.com/redis/redis-rb.git", :branch => "master"
But I am still not able to access
zinter
, redis is throwing missing method errorSidekiq was also throwing an error like "not able to find redis >=4.2". I have the setup inside a docker
Any idea why this might be happening?
68fe7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds like your redis verion may not be 6.2
You can check with the
info
hash:Redis.current.info['redis_version']
68fe7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh you're right. Thanks @skipkayhil.
I had upgraded the Redis version in my docker-compose file. But I had to do
docker-compose up --force-recreate
to actually spin up the upgraded redis instance.One more question though; If I want to use this
zinter
command, would it be safer to just point my redis gem to the master branch, or this specific commit, until this is released under a tag?68fe7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And also, I just noticed, my Sidekiq now cannot find the Redis GEM.
It is throwing
But I can access Redis through by rails console. Is there anything I have to do when I am pulling a gem from Github?
68fe7b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, got it. I had to do
bundle exec
. Thanks!