Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove commented out lines from scheduler.py #3803

Merged
merged 1 commit into from May 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions distributed/scheduler.py
Expand Up @@ -756,7 +756,6 @@ def __init__(self, name):
self.types = set()

def add(self, ts):
# self.tasks.add(ts)
self.states[ts.state] += 1
ts.group = self

Expand Down Expand Up @@ -2934,8 +2933,6 @@ async def restart(self, client=None, timeout=3):
finally:
await asyncio.gather(*[nanny.close_rpc() for nanny in nannies])

# self.status = None
# await self
self.clear_task_state()

with ignoring(AttributeError):
Expand Down