Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix issue with returning worker key, while creating workers

  • Loading branch information...
commit d880942eba7108af8a0b3843c20451831c64b974 1 parent 6f2ae86
@gnufied authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/backgroundrb/bdrb_cluster_connection.rb
View
2  lib/backgroundrb/bdrb_cluster_connection.rb
@@ -135,8 +135,8 @@ def new_worker(options = {})
succeeded = true
rescue BdrbConnError; end
end
- return options[:worker_key]
raise NoServerAvailable.new("No BackgrounDRb server is found running") unless succeeded
+ return options[:worker_key]
end
# choose a server in round robin manner.
Please sign in to comment.
Something went wrong with that request. Please try again.