Reduce the delay between clicking 'Make Image' and making the render call to the server. Was nearly 4-5 seconds, now it's about 250-300ms. This is a hacky workaround until a better solution is found

This commit is contained in:
cmdr2
2022-12-22 15:22:25 +05:30
parent 768fb2583a
commit 21394b7d45
2 changed files with 7 additions and 4 deletions

View File

@ -429,6 +429,7 @@ function getUncompletedTaskEntries() {
}
function makeImage() {
performance.mark('click-makeImage')
if (!SD.isServerAvailable()) {
alert('The server is not available.')
return