Details
Description
Editing a node in the WebUI makes a series of slow API calls for information taking over ten seconds to load
[Thu, 03 Dec 2009 01:24:08 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id?include_docs=true&key=[%22webui_user%22,%22admin%22]
[Thu, 03 Dec 2009 01:24:08 +0000] DEBUG: Signing the request as chef-webui
[Thu, 03 Dec 2009 01:24:08 +0000] DEBUG: Sending HTTP Request via GET to localhost:4000/nodes/btmops01_optlab_webtrends_corp
[Thu, 03 Dec 2009 01:24:08 +0000] DEBUG: Signing the request as chef-webui
[Thu, 03 Dec 2009 01:24:08 +0000] DEBUG: Sending HTTP Request via GET to localhost:4000/cookbooks
— SNIP —
[Thu, 03 Dec 2009 01:24:19 +0000] DEBUG: Sending HTTP Request via GET to localhost:4000/roles
merb : worker (port 4002) ~ Started request handling: Thu Dec 03 01:24:08 +0000 2009
merb : worker (port 4002) ~ Params: {"format"=>nil, "action"=>"edit", "id"=>"btmops01_optlab_webtrends_corp", "controller"=>"chef_server_webui/nodes"}
merb : worker (port 4002) ~ {:action_time=>11.064881, :after_filters_time=>2.8e-05, :before_filters_time=>0.007754, :dispatch_time=>11.065554}
merb : worker (port 4002) ~
Think this issue was fixed by:
http://github.com/opscode/chef/commit/bdc33b8f8c10125cd911c2b0334f03bafdcd2d35