README.md in upperkut-0.5.2 vs README.md in upperkut-0.6.0
- old
+ new
@@ -32,11 +32,10 @@
# This is optional
setup_upperkut do |config|
# Define which redis instance you want to use
- redis = Redis.new(url: ENV['ANOTHER_REDIS_INSTANCE_URL'])
- config.strategy = Upperkut::Strategy.new(self, redis)
+ config.strategy = Upperkut::Strategy.new(self, redis: { url: ENV['ANOTHER_REDIS_INSTANCE_URL']) })
# Define the amount of items must be accumulated
config.batch_size = 2_000 # The default value is 1_000
# How frequent the Processor should hit redis looking for elegible