lib/gush/client.rb in gush-2.0.2 vs lib/gush/client.rb in gush-2.1.0

- old
+ new

@@ -70,10 +70,10 @@ def next_free_workflow_id id = nil loop do id = SecureRandom.uuid - available = !redis.exists("gush.workflow.#{id}") + available = !redis.exists?("gush.workflow.#{id}") break if available end id