lib/jets/preheat.rb in jets-0.9.1 vs lib/jets/preheat.rb in jets-0.9.2
- old
+ new
@@ -27,9 +27,10 @@
# Loop through all methods for each class and makes special prewarm call to each method.
def warm_all
threads = []
all_functions.each do |function_name|
+ next if function_name.include?('jets-public_controller') # handled by warm_public_controller_more
threads << Thread.new do
warm(function_name)
end
end
threads.each { |t| t.join }
\ No newline at end of file