Skip to content

Commit

Permalink
Revert config
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Jan 19, 2025
1 parent d48a296 commit 887d748
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ert/ensemble_evaluator/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ def __init__(
will_close_then_reopen_socket=True,
)
self.host, self.router_port = self._socket_handle.getsockname()
self.router_port = 51822
self.url = f"tcp://{self.host}:{self.router_port}"

use_token = False
if use_token:
self.server_public_key, self.server_secret_key = zmq.curve_keypair()
self.token = self.server_public_key.decode("utf-8")
Expand All @@ -60,6 +58,6 @@ def get_socket(self) -> socket.socket | None:

def get_connection_info(self) -> EvaluatorConnectionInfo:
return EvaluatorConnectionInfo(
f"tcp://{self.host}:51840",
self.url,
self.token,
)

0 comments on commit 887d748

Please sign in to comment.