Skip to content

Commit

Permalink
added debugging to determine if queries are actually submitting
Browse files Browse the repository at this point in the history
  • Loading branch information
Missy authored and Missy committed May 2, 2013
1 parent 3c73321 commit 45ba0d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion squirrel/replay.rb
Expand Up @@ -171,8 +171,10 @@ def execute_query(total_took, query, data)
data['new_timestamp'] = Time.now
data['new_start_time'] = Time.now.to_f * 1000
cmd = build_curl_command_string(query, data)
#puts cmd
puts cmd
curl_result = `#{cmd}`
puts curl_result
puts "\n"
data['new_end_time'] = Time.now.to_f * 1000
data['new_duration'] = data['new_end_time'] - data['new_start_time']
data['original_dur'] = data['took']
Expand Down

0 comments on commit 45ba0d2

Please sign in to comment.