comment out redundatn code increasing load on server

This commit is contained in:
Isaac Connor 2018-10-19 15:02:10 -04:00
parent f9b1453705
commit 3723f7acb3
1 changed files with 4 additions and 0 deletions

View File

@ -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 );