Skip to content

Commit

Permalink
Make sure that empty flags are set
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Dec 16, 2024
1 parent 121906b commit 0a5cd3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ert/ensemble_evaluator/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ def __init__(self, ensemble: Ensemble, config: EvaluatorServerConfig):
self._server_started: asyncio.Event = asyncio.Event()
self._clients_connected: set[bytes] = set()
self._clients_empty: asyncio.Event = asyncio.Event()
self._clients_empty.set()
self._dispatchers_connected: set[bytes] = set()
self._dispatchers_empty: asyncio.Event = asyncio.Event()
self._dispatchers_empty.set()

async def _publisher(self) -> None:
await self._server_started.wait()
Expand Down

0 comments on commit 0a5cd3b

Please sign in to comment.