lib/zephyr.rb in zephyr-1.0.4 vs lib/zephyr.rb in zephyr-1.0.5
- old
+ new
@@ -250,9 +250,12 @@
def perform(method, path_components, headers, expect, timeout, data=nil)
params = {}
params[:headers] = headers
params[:timeout] = timeout
params[:follow_location] = false
+
+ # seriously, why is this on by default
+ Typhoeus::Hydra.hydra.disable_memoization
# if you want debugging
# params[:verbose] = true
# have a vague feeling this isn't going to work as expected