Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENV_RUNNER_TYPE_KEY = "FLOGO_RUNNER_TYPE" RUNNER_TYPE_DEFAULT = "POOLED" ENV_RUNNER_WORKERS_KEY = "FLOGO_RUNNER_WORKERS" RUNNER_WORKERS_DEFAULT = 5 ENV_RUNNER_QUEUE_SIZE_KEY = "FLOGO_RUNNER_QUEUE" RUNNER_QUEUE_SIZE_DEFAULT = 50 )
Variables ¶
This section is empty.
Functions ¶
func GetRunnerQueueSize ¶
func GetRunnerQueueSize() int
GetRunnerQueueSize returns the runner queue size
func GetRunnerWorkers ¶
func GetRunnerWorkers() int
GetRunnerWorkers returns the number of workers to use
func NewPooledRunnerConfig ¶
func NewPooledRunnerConfig() *runner.PooledConfig
NewPooledRunnerConfig creates a new Pooled config, looks for environment variables to override default values
Types ¶
Click to show internal directories.
Click to hide internal directories.