Skip to content

Commit

Permalink
Update distributed/worker_memory.py
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky authored Mar 5, 2022
1 parent c2e9f98 commit 5d18a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/worker_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(
):
assert self.memory_monitor_interval is not None
pc = PeriodicCallback(
# Don't store worker ar self.worker to avoid creating a circular
# Don't store worker as self.worker to avoid creating a circular
# dependency. We could have alternatively used a weakref.
# FIXME annotations: https://github.com/tornadoweb/tornado/issues/3117
partial(self.memory_monitor, worker), # type: ignore
Expand Down

0 comments on commit 5d18a87

Please sign in to comment.