improve queue management

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-01-13 12:58:14 +00:00
parent e7809b11cd
commit 8500156888
7 changed files with 42 additions and 18 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ function setRefreshInterval() {
document.addEventListener('visibilitychange', () => {
if (document.hidden) refreshInterval = Math.max(2500, opts.live_preview_refresh_period || 1000);
else refreshInterval = opts.live_preview_refresh_period || 1000;
log('refreshInterval', document.visibilityState, refreshInterval);
// log('refreshInterval', document.visibilityState, refreshInterval);
});
}