Skip to content

Commit

Permalink
Fix breaking change for HighThroughputExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-janidlo committed Apr 11, 2024
1 parent 6f29ab7 commit 58cc4bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.d/20240411_134946_chris_hotfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bug Fixes
^^^^^^^^^

- Fixed a bug that caused endpoints using the old ``HighThroughputExecutor`` to fail
silently.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def process_pending_tasks() -> None:
# gracefully, iterate once a second whether a task has arrived.
nonlocal num_tasks_forwarded
while not self._quiesce_event.is_set():
if executor.executor_exception:
if getattr(executor, "executor_exception", False):
self.time_to_quit = True
log.exception(executor.executor_exception)

Expand Down

0 comments on commit 58cc4bb

Please sign in to comment.