Module: Sunspot::Rails::Railties::ControllerRuntime::ClassMethods
- Defined in:
- lib/sunspot/rails/railties/controller_runtime.rb
Instance Method Summary collapse
Instance Method Details
#log_process_action(payload) ⇒ Object
27 28 29 30 31 |
# File 'lib/sunspot/rails/railties/controller_runtime.rb', line 27 def log_process_action(payload) , solr_runtime = super, payload[:solr_runtime] << ("Solr: %.1fms" % solr_runtime.to_f) if solr_runtime end |