Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMaxBufferedResponseBytes = 128 << 20
DefaultMaxBufferedResponseBytes bounds the response bodies one runner process holds in memory at once when ECHOPOINT_MAX_BUFFERED_RESPONSE_BYTES is unset.
Variables ¶
This section is empty.
Functions ¶
func MaxBufferedResponseBytes ¶ added in v0.96.0
MaxBufferedResponseBytes reads ECHOPOINT_MAX_BUFFERED_RESPONSE_BYTES, the response body bytes all request nodes of the process hold at once, defaulting to DefaultMaxBufferedResponseBytes.
func MaxResponseBytes ¶ added in v0.94.0
MaxResponseBytes reads ECHOPOINT_MAX_RESPONSE_BYTES, the largest response body a request node reads, defaulting to 10 MiB.
Types ¶
type Config ¶
type Config struct {
BaseURL string
OrganizationID string
RunnerAPIKey string
RunnerID string
MaxParallelFlows int
HeartbeatInterval time.Duration
RequestTimeout time.Duration
IdleBackoff time.Duration
ErrorBackoff time.Duration
ShutdownGracePeriod time.Duration
LogLevel zerolog.Level
LogFormat string
FlowAPIKey string
MaxResponseBytes int64
// MaxBufferedResponseBytes bounds the response bodies every flow of the
// runner holds in memory at once; zero sets no bound.
MaxBufferedResponseBytes int64
}
Click to show internal directories.
Click to hide internal directories.