comment out redundatn code increasing load on server
This commit is contained in:
parent
f9b1453705
commit
3723f7acb3
|
@ -422,6 +422,9 @@ function initPage() {
|
|||
}
|
||||
selectLayout('#zmMontageLayout');
|
||||
|
||||
if ( 0 ) {
|
||||
// What is the purpose of this code? I think it just starts up a second ajax thread,
|
||||
//increasing the load on the server.
|
||||
for ( var i = 0; i < monitorData.length; i++ ) {
|
||||
if ( monitors[i].type == 'WebSite' )
|
||||
continue;
|
||||
|
@ -430,6 +433,7 @@ function initPage() {
|
|||
monitors[i].streamCmdQuery.delay( delay, monitors[i] );
|
||||
//monitors[i].zm_startup(delay);
|
||||
}
|
||||
}
|
||||
}
|
||||
// Kick everything off
|
||||
window.addEvent( 'domready', initPage );
|
||||
|
|
Loading…
Reference in New Issue