mirror of
https://github.com/vladmandic/automatic
synced 2026-09-04 12:00:46 +02:00
increase ui init timeout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -27,7 +27,7 @@ async function initStartup() {
|
||||
|
||||
// make sure all of the ui is ready and options are loaded
|
||||
let t1 = performance.now();
|
||||
while ((Object.keys(window.opts).length === 0) && (t1 - t0 < 10000)) {
|
||||
while ((Object.keys(window.opts).length === 0) && (t1 - t0 < 60000)) {
|
||||
t1 = performance.now();
|
||||
await sleep(50);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user