Skip to content

Commit

Permalink
Merge pull request #4163 from IgorA100/patch-180200
Browse files Browse the repository at this point in the history
Chore: Removed the use of the "delay" constant as it is no longer used when starting monitors on the Montage page
  • Loading branch information
connortechnology authored Oct 3, 2024
2 parents 02dc5cc + 18d5c88 commit e306dcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/js/MonitorStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function MonitorStream(monitorData) {
}
}; // setStreamScale

this.start = function(delay=500) {
this.start = function() {
if (this.janusEnabled) {
let server;
if (ZM_JANUS_PATH) {
Expand Down
4 changes: 1 addition & 3 deletions web/skins/classic/views/js/montage.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,9 +583,7 @@ function startMonitors() {

const isOut = isOutOfViewport(monitor.getElement());
if (!isOut.all) {
// Start the fps and status updates. give a random delay so that we don't assault the server
const delay = Math.round( (Math.random()+0.5)*statusRefreshTimeout );
monitors[i].start(delay);
monitor.start();
}
if ((monitor.type == 'WebSite') && (monitor.refresh > 0)) {
setInterval(reloadWebSite, monitor.refresh*1000, i);
Expand Down

0 comments on commit e306dcf

Please sign in to comment.