-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify Jobqueue.execute() and refactor its websocket connection
The websocket connection from the JobQueue is refactored to use a single asyncio task for fetching changes to be published, publish them, and also keep the connection open. The queue execute function had two variants, one that included websocket communication (for "legacy" ert, and one for Everest, the "simulation context"). Now there is only one, which is async. The changes that are published to the websocket channel is in the simulation context (Everest) logged to the debug log. Previously that information was not propagated. The connection to the ensemble evaluator is now configured once, and from now on it is not possible to have the job_runner use a different connection than the JobQueue uses for publishing its realization state changes.
- Loading branch information
Showing
6 changed files
with
156 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.