mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-15 06:17:27 +02:00
Temporary fix for lagging progress updates check
This commit is contained in:
parent
cb82170187
commit
03bd9a5731
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@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 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.
|
@REM Note to self: Please rewrite this in Python. For the sake of your own sanity.
|
||||||
|
@ -685,7 +685,7 @@ async function doMakeImage(task) {
|
|||||||
}
|
}
|
||||||
if (readComplete && finalJSON.length <= 0) {
|
if (readComplete && finalJSON.length <= 0) {
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
await asyncDelay(5000)
|
await asyncDelay(1000)
|
||||||
res = await fetch(renderRequest.stream, {
|
res = await fetch(renderRequest.stream, {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user