Skip to main content
Version: 7.9

system.util.getConnectTimeout

This function is used in Python Scripting.

Description

Returns the connect timeout in milliseconds for all client-to-gateway communication. This is the maximum amount of time that communication operations to the Gateway will be given to connect. The default is 10,000ms (10 seconds).

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.util.getConnectTimeout()

Parameters

None

Returns

int - The current connect timeout, in milliseconds. Default is 10,000 (ten seconds)

Scope

Client

Code Examples

Example #1
# This code would print out the current connect timeout
print system.util.getConnectTimeout()