Skip to content

Commit

Permalink
Update _run_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thorrester committed Oct 30, 2024
1 parent aec037f commit 0fa671d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opsml/projects/_run_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DaemonThreadPoolExecutor(concurrent.futures.ThreadPoolExecutor):
def _adjust_thread_count(self) -> None:
if len(self._threads) < self._max_workers:
thread_name = f"ThreadPoolExecutor-{len(self._threads)}"
_thread = threading.Thread(name=thread_name, target=self._worker) # type: ignore
_thread = threading.Thread(name=thread_name, target=self._worker) # pylint: disable=no-member
_thread.daemon = True
_thread.start()
self._threads.add(_thread)
Expand Down

0 comments on commit 0fa671d

Please sign in to comment.