Skip to content

Remove unused __started Event in Server #6615

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

Merged
merged 2 commits into from
Jun 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions distributed/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ def set_thread_ident():
self.io_loop.add_callback(set_thread_ident)
self._startup_lock = asyncio.Lock()
self.__startup_exc: Exception | None = None
self.__started = asyncio.Event()

self.rpc = ConnectionPool(
limit=connection_limit,
Expand Down Expand Up @@ -499,7 +498,6 @@ async def _close_on_failure(exc: Exception) -> None:
await _close_on_failure(exc)
raise RuntimeError(f"{type(self).__name__} failed to start.") from exc
self.status = Status.running
self.__started.set()
return self

async def __aenter__(self):
Expand Down