fixes generating in parallel not updating seed correctly

This commit is contained in:
Blub 2022-09-06 21:24:08 -04:00 committed by GitHub
parent 051ef564e7
commit 0dfbfafb82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -769,7 +769,7 @@ async function makeImage() {
let successCount = 0 let successCount = 0
for (let i = 0; i < batchCount; i++) { for (let i = 0; i < batchCount; i++) {
reqBody['seed'] = seed + i reqBody['seed'] = seed + (i * batchSize)
let success = await doMakeImage(reqBody) let success = await doMakeImage(reqBody)