Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5 from eric/dont_shuffle_with_one_server
Browse files Browse the repository at this point in the history
Dont shuffle with one server
  • Loading branch information
bitbckt committed Sep 16, 2011
2 parents ec633c7 + 0aaea66 commit ad0484b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kestrel/client.rb
Expand Up @@ -155,6 +155,7 @@ def extract_kestrel_options!(opts)
end

def shuffle_if_necessary!(key)
return unless @server_count > 1
# Don't reset servers on the first request:
# i.e. @counter == 0 && @current_queue == nil
if @shuffle &&
Expand Down

0 comments on commit ad0484b

Please sign in to comment.