Skip to content

Commit

Permalink
Remove commented out lines from scheduler.py (#3803)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed May 15, 2020
1 parent 68e34fc commit 1bcbaee
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 1bcbaee

Please sign in to comment.