README.md in upperkut-0.5.1 vs README.md in upperkut-0.5.2
- old
+ new
@@ -32,10 +32,11 @@
# This is optional
setup_upperkut do |config|
# Define which redis instance you want to use
- config.redis = Redis.new(url: ENV['ANOTHER_REDIS_INSTANCE_URL'])
+ redis = Redis.new(url: ENV['ANOTHER_REDIS_INSTANCE_URL'])
+ config.strategy = Upperkut::Strategy.new(self, redis)
# 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