From 6c9e16e5c93ac514f6420f5b498ecfaf5ddb800a Mon Sep 17 00:00:00 2001 From: Shrikant Chaudhari <118721056+shrik6548@users.noreply.github.com> Date: Wed, 15 May 2024 10:39:12 +0200 Subject: [PATCH] Increase ini_timeout from 20 sec to 60 seconds. (#289) --- src/ansys/optislang/core/optislang.py | 2 +- src/ansys/optislang/core/tcp/osl_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ansys/optislang/core/optislang.py b/src/ansys/optislang/core/optislang.py index b9022cbf8..5e080965d 100644 --- a/src/ansys/optislang/core/optislang.py +++ b/src/ansys/optislang/core/optislang.py @@ -221,7 +221,7 @@ def __init__( auto_relocate: bool = False, listener_id: Optional[str] = None, multi_listener: Optional[Iterable[Tuple[str, int, Optional[str]]]] = None, - ini_timeout: Union[int, float] = 20, + ini_timeout: Union[int, float] = 60, name: Optional[str] = None, password: Optional[str] = None, loglevel: Optional[str] = None, diff --git a/src/ansys/optislang/core/tcp/osl_server.py b/src/ansys/optislang/core/tcp/osl_server.py index f5730b904..a5258bc7d 100644 --- a/src/ansys/optislang/core/tcp/osl_server.py +++ b/src/ansys/optislang/core/tcp/osl_server.py @@ -1148,7 +1148,7 @@ def __init__( auto_relocate: bool = False, listener_id: Optional[str] = None, multi_listener: Optional[Iterable[Tuple[str, int, Optional[str]]]] = None, - ini_timeout: float = 20, + ini_timeout: float = 60, password: Optional[str] = None, logger: Optional[Any] = None, shutdown_on_finished: bool = True,