From 1bcbaeee4a92d57fb2d399c9580fce6480a6d7c9 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Fri, 15 May 2020 12:46:49 -0500 Subject: [PATCH] Remove commented out lines from scheduler.py (#3803) --- distributed/scheduler.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/distributed/scheduler.py b/distributed/scheduler.py index 6968632559..029db4ef06 100644 --- a/distributed/scheduler.py +++ b/distributed/scheduler.py @@ -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 @@ -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):