Skip to content

Commit

Permalink
testing again
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaConway committed Feb 15, 2016
1 parent 734eb15 commit 6fa2cfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/octopus/load_balancing/round_robin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def initialize(slaves_list)

# Returns the next available slave in the pool
def next(options)
puts "went to round robin next..."
@slaves_list[@slave_index = (@slave_index + 1) % @slaves_list.length]
end
end
Expand Down

0 comments on commit 6fa2cfe

Please sign in to comment.