Permalink
Browse files

fix issue with returning worker key, while creating workers

  • Loading branch information...
gnufied committed Jul 22, 2008
1 parent 6f2ae86 commit d880942eba7108af8a0b3843c20451831c64b974
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit d880942

Please sign in to comment.