Browse Source

Reduced stream poll interval

master
Youen 2 years ago
parent
commit
ae592ba1eb
  1. 6
      src/static/log-stream.js

6
src/static/log-stream.js

@ -25,7 +25,11 @@ function log_stream(element, logUrl) {
} }
} }
else { else {
setTimeout(fetchMore, 100); let delay = 500;
if(json.new_output != '') {
delay = 100;
}
setTimeout(fetchMore, delay);
} }
}); });
} }

Loading…
Cancel
Save