spec/spec_helper.rb in sidekiq-status-1.0.1 vs spec/spec_helper.rb in sidekiq-status-1.0.2

- old
+ new

@@ -33,10 +33,10 @@ parent = Thread.current thread = Thread.new { messages = [] Sidekiq.redis do |conn| puts "Subscribing to #{channels} for #{messages_limit.to_s.bold} messages".cyan if ENV['DEBUG'] - conn.subscribe_with_timeout 30, *channels do |on| + conn.subscribe_with_timeout 60, *channels do |on| on.subscribe do |ch, subscriptions| puts "Subscribed to #{ch}".cyan if ENV['DEBUG'] if subscriptions == channels.size sleep 0.1 while parent.status != "sleep" parent.run