yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01450
[Bug 1132588] Re: Every page is making an XMLHttpRequest every few seconds
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1132588
Title:
Every page is making an XMLHttpRequest every few seconds
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Every page is making an XHR to itself at the moment. Firebug tells me
it is happening here:
horizon.networktopology.js
init:function(){
var self = this;
$("#topologyCanvas").spin(horizon.conf.spinner_options.modal);
self.retrieve_network_info();
setInterval(horizon.network_topology.retrieve_network_info,
horizon.network_topology.reload_duration);
},
retrieve_network_info: function(){
var self = this;
if(!$("#networktopology")) {
return;
}
$.getJSON($("#networktopology").data('networktopology'), <--- this is running on every page
function(data) {
self.draw_graph(data);
}
);
},
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1132588/+subscriptions