Skip to content

Commit

Permalink
Let publisher_task exit gracefully when nothing to do
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Dec 13, 2023
1 parent b2b2e48 commit 225a1e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ert/scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def set_ee_info(
self._ee_token = ee_token

async def _publisher(self) -> None:
if not self._ee_uri:
return
tls: Optional[ssl.SSLContext] = None
if self._ee_cert:
tls = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
Expand Down

0 comments on commit 225a1e8

Please sign in to comment.