public ClientTransportConfig setConnectTimeout(int connectTimeout) {
        this.connectTimeout = connectTimeout;
        return this;
    }
Sets connect timeout.

@param connectTimeout the connect timeout
@return the connect timeout
core/api/src/main/java/com/alipay/sofa/rpc/transport/ClientTransportConfig.java