diff options
Diffstat (limited to 'executors.py')
| -rw-r--r-- | executors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/executors.py b/executors.py index 5b77a42..47b4a89 100644 --- a/executors.py +++ b/executors.py @@ -152,6 +152,7 @@ class ThreadExecutor(BaseExecutor): ) result.add_done_callback(lambda _: self.histogram.add_item(time.time() - start)) result.add_done_callback(lambda _: self.adjust_task_count(-1)) + return result @overrides def shutdown(self, wait=True) -> None: |
