public int getConnectTimeout() {
        return connectTimeout;
    }
Sets connect timeout.

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