Skip to content

Commit

Permalink
fix: break on conseq fails
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Oct 1, 2023
1 parent 04adbd7 commit 4242ecb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions horde_worker_regen/process_management/process_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@ async def api_submit_job(
if self._consecutive_failed_results >= self._consecutive_failed_results_max:
async with self._completed_jobs_lock:
self.completed_jobs.remove(completed_job_info)
return

image_in_buffer = self.base64_image_to_stream_buffer(completed_job_info.job_result_images_base64[0])

Expand Down

0 comments on commit 4242ecb

Please sign in to comment.