Skip to content

Commit

Permalink
fix: forgot to clear submit_tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Jan 11, 2024
1 parent 762091f commit d6b280b
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 @@ -1826,6 +1826,7 @@ async def api_submit_job(self) -> None:
highest_reward = result.kudos_reward
if highest_kudos_per_second < result.kudos_per_second:
highest_kudos_per_second = result.kudos_per_second
submit_tasks = []
for retry_submit in retry_submits:
submit_tasks.append(asyncio.create_task(self.submit_single_generation(retry_submit)))

Expand Down

0 comments on commit d6b280b

Please sign in to comment.