android-components / org.mozilla.telemetry.config / TelemetryConfiguration / setConnectTimeout

# setConnectTimeout

`open fun setConnectTimeout(connectTimeout: Int): TelemetryConfiguration` (source)

Sets a specified timeout value, in milliseconds, to be used when opening a communications link to the telemetry endpoint. If the timeout expires before the connection can be established, the ping upload will be retried at a later time. A timeout of zero is interpreted as an infinite timeout.