--- title: "system.util.setConnectTimeout" description: "Sets the connect timeout for client-to-gateway communication." --- # system.util.setConnectTimeout > Sets the connect timeout for client-to-gateway communication. This function is used in **Python Scripting**. ## Description Sets the connect timeout for client-to-gateway communication. Specified in milliseconds. ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.util.setConnectTimeout(connectTimeout)` ### Parameters |Type|Parameter|Description| |--|--|--| |int |`connectTimeout` | The new connect timeout, specified in milliseconds.| ### Returns Nothing ### Scope All ## Code Examples ```python title="Example #1" # This code would set the current connect timeout to 30 seconds system.util.setConnectTimeout(30000) ```