Permalink
Browse files

add ability to use routing

  • Loading branch information...
1 parent e6f4c77 commit 4558d7d08d7d16446f57fd32fa07f6f7277a0926 Missy committed May 2, 2013
Showing with 3 additions and 2 deletions.
  1. +2 −1 squirrel/replay.rb
  2. +1 −1 squirrel/squirrel.rb
View
@@ -120,11 +120,12 @@ def parse_logline(line, metaArray)
########################################################################################################################
class Replay
- def initialize(logfile, host, port, preference)
+ def initialize(logfile, host, port, preference, routing)
@logfile = logfile
@host = host
@port = port
@preference = preference
+ @routing = routing
end
def header()
@@ -79,7 +79,7 @@ def task_caller
when :warmer
determine_warmer_action(@options)
when :replay
- Replay.new(@options[:execute_slow_queries], @options[:host], @options[:port], @options[:preference]).run
+ Replay.new(@options[:execute_slow_queries], @options[:host], @options[:port], @options[:preference], options[:routing]).run
when :cache
determine_cache_clear(@options)
when :index_settings

0 comments on commit 4558d7d

Please sign in to comment.