Skip to content

Commit 68b69c8

Browse files
committed
run lint
1 parent e075f6c commit 68b69c8

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/sglang_diffusion_routing/router/diffusion_router.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,11 @@ async def _broadcast_to_workers(
387387
"""
388388
if path == "resume_memory_occupation":
389389
# Wake is a recovery point: allow waking workers that were marked dead during sleep.
390-
urls = [
391-
u for u in self.sleeping_workers
392-
if u in self.worker_request_counts
393-
]
390+
urls = [u for u in self.sleeping_workers if u in self.worker_request_counts]
394391
else:
395392
urls = [
396-
u for u in self.worker_request_counts
393+
u
394+
for u in self.worker_request_counts
397395
if u not in self.dead_workers and u not in self.sleeping_workers
398396
]
399397

0 commit comments

Comments
 (0)