fix(core-concurrency-utils): pyright errors

This commit is contained in:
Benexl
2025-10-26 22:56:17 +03:00
parent 6581179336
commit 5be03ed5b8

View File

@@ -219,7 +219,7 @@ class BackgroundWorker(ABC):
else:
# Wait for tasks to complete with timeout
try:
self._executor.shutdown(wait=True, timeout=timeout)
self._executor.shutdown(wait=True)
except TimeoutError:
logger.warning(
f"Worker {self.name} shutdown timed out, forcing cancellation"