Temporary fix for lagging progress updates check

This commit is contained in:
cmdr2 2022-10-17 21:53:46 +05:30
parent cb82170187
commit 03bd9a5731
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
@echo off
@copy sd-ui-files\scripts\on_env_start.bat scripts\ /Y
@REM @copy sd-ui-files\scripts\on_env_start.bat scripts\ /Y
@REM Caution, this file will make your eyes and brain bleed. It's such an unholy mess.
@REM Note to self: Please rewrite this in Python. For the sake of your own sanity.

View File

@ -685,7 +685,7 @@ async function doMakeImage(task) {
}
if (readComplete && finalJSON.length <= 0) {
if (res.status === 200) {
await asyncDelay(5000)
await asyncDelay(1000)
res = await fetch(renderRequest.stream, {
headers: {
'Content-Type': 'application/json'