Interface GolemConfig

interface GolemConfig {
    api: GolemApiConfig;
    deploy: ServiceDeploymentConfig;
    initTimeoutSec?: number;
    market: GolemMarketConfig;
    requestStartTimeoutSec: number;
}

Properties

api: GolemApiConfig

Golem Node's (yagna) API related config params.

deploy: ServiceDeploymentConfig

Represents the deployment configuration for a service on Golem Network

initTimeoutSec?: number

Number of seconds to wait for the Golem component to initialize (be ready to accept requests and order resources on Golem Network)

This option is no longer supported and will be removed in the next major version

market: GolemMarketConfig

Specification of how long you want to rent the compute resources for

These parameters will be used to find the providers matching your pricing criteria, estimate and allocate GLM budget for the operations.

requestStartTimeoutSec: number

Number of seconds to wait for a request to start

This value has to consider time for a fresh replica to be added before the request is sent to one.