diff --git a/nats/src/nats/aio/client.py b/nats/src/nats/aio/client.py index 8487489e..0f8a5c48 100644 --- a/nats/src/nats/aio/client.py +++ b/nats/src/nats/aio/client.py @@ -356,8 +356,8 @@ async def connect( pedantic: bool = False, verbose: bool = False, allow_reconnect: bool = True, - connect_timeout: int = DEFAULT_CONNECT_TIMEOUT, - reconnect_time_wait: int = DEFAULT_RECONNECT_TIME_WAIT, + connect_timeout: float = DEFAULT_CONNECT_TIMEOUT, + reconnect_time_wait: float = DEFAULT_RECONNECT_TIME_WAIT, max_reconnect_attempts: int = DEFAULT_MAX_RECONNECT_ATTEMPTS, ping_interval: int = DEFAULT_PING_INTERVAL, max_outstanding_pings: int = DEFAULT_MAX_OUTSTANDING_PINGS,