mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
improve queue management
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user