fix(graph_engine): add type hint for workers_to_remove

This commit is contained in:
-LAN- 2025-09-05 01:59:11 +08:00
parent 15b3443e9e
commit 103a9a4e67
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class WorkerPool:
return False
# Find and remove idle workers that have been idle long enough
workers_to_remove = []
workers_to_remove: list[tuple[Worker, int]] = []
for worker in self._workers:
# Check if worker is idle and has exceeded idle time threshold