🔧 Wait longer for openpose editor iframe to respond (#1762)

pull/1764/head
Chenlei Hu 2023-07-04 19:31:48 -04:00 committed by GitHub
parent 8a7314c218
commit 7f6a6d33f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -37,9 +37,9 @@
if (getPathname(iframe.src) !== EDITOR_PATH) {
iframe.src = `${EDITOR_PATH}?${darkThemeParam}`;
// By default assume 1 second is enough for the openpose editor
// By default assume 5 second is enough for the openpose editor
// to load.
setTimeout(resolve, 1000);
setTimeout(resolve, 5000);
} else {
// If no navigation is required, immediately return.
resolve();