Skip to content

Commit 40253fb

Browse files
committed
handle_request_refresh_who_has sync
1 parent d73c081 commit 40253fb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

distributed/scheduler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5650,12 +5650,12 @@ def handle_worker_status_change(
56505650
self.idle_task_count.discard(ws)
56515651
self.saturated.discard(ws)
56525652

5653-
async def handle_request_refresh_who_has(
5653+
def handle_request_refresh_who_has(
56545654
self, keys: Iterable[str], worker: str, stimulus_id: str
56555655
) -> None:
5656-
"""Asynchronous request (through bulk comms) from a Worker to refresh the
5657-
who_has for some keys. Not to be confused with scheduler.who_has, which is a
5658-
synchronous RPC request from a Client.
5656+
"""Request from a Worker to refresh the
5657+
who_has for some keys. Not to be confused with scheduler.who_has, which
5658+
is a dedicated comm RPC request from a Client.
56595659
"""
56605660
who_has = {}
56615661
free_keys = []

0 commit comments

Comments
 (0)