brpoplpush / brpoplpush-redis_script Goto Github PK
View Code? Open in Web Editor NEWBring your own LUA scripts into redis
License: MIT License
Bring your own LUA scripts into redis
License: MIT License
Recently I updated my bundle which resulted in updating redis
to "5.0.0". As you may know this version does not work with Sidekiq < 7. There is a fix for it in redis
5.0.1 but this is against dependencies constraints for this gem. Is there a purpose for it or it can be easily updated? :)
I experimented a little with it but couldn't find a way to add the project. It seems impossible for some reason.
When Sidekiq configured use redis namespaces like this
opts = {
host: APP_CONFIG[:redis_host].to_s,
namespace: REDIS_NAMESPACE
}
Sidekiq.configure_server do |config|
config.redis = opts
end
Sidekiq.configure_client do |config|
config.redis = opts
end
Deprecated text appears at startup
Passing 'script' command to redis as is; administrative commands cannot be effectively namespaced and should be called on the redis connection directly; passthrough has been deprecated and will be removed in redis-namespace 2.0 (at /usr/local/rvm/gems/ruby-2.6.3/gems/brpoplpush-redis_script-0.1.1/lib/brpoplpush/redis_script/script.rb:69:in `load')
Passing 'script' command to redis as is; administrative commands cannot be effectively namespaced and should be called on the redis connection directly; passthrough has been deprecated and will be removed in redis-namespace 2.0 (at /usr/local/rvm/gems/ruby-2.6.3/gems/brpoplpush-redis_script-0.1.1/lib/brpoplpush/redis_script/script.rb:69:in `load')
We should update the README.md with some usage information. It would also be great to add some badges to the readme from https://travis-ci.com (build status), https://codeclimate.com (test coverage + quality)
Like you suggested in #1 we should allow various paths and scripts to be added to the gem. Right now it just takes a dumb directory because that is what I need to be able to use it in sidekiq-unique-jobs
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.