cp_mgmt_api_python_sdk
cp_mgmt_api_python_sdk copied to clipboard
connection timeout
Hello. How can I set the connection timeout? I don't see such a setting. The connection hangs if the api server is not available.
Hi,
You can add to the payload parameter of the login functions the mapping of "session-timeout" to your required timeout value (in seconds).
Regards, Eden
Thank you for answer. But i mean tcp connection timeout. In the sense when it is impossible to establish a tcp connection.