config

package
v0.0.0-...-6fe1999 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DagFileExtension = ".so"

DagFileExtension is the extension of Dag files. Basically, they are go file compiled as plugins.

Variables

This section is empty.

Functions

func GetDagRunCheckInterval

func GetDagRunCheckInterval() time.Duration

GetDagRunCheckInterval returns DAG_RUN_CHECK_INTERVAL used by scheduler. It is the time which scheduler must wait before checking which tasks need to be scheduled.

func GetDagsDir

func GetDagsDir() string

GetDagsDir returns Dags dir.

func GetDagsParseInterval

func GetDagsParseInterval() time.Duration

GetDagsParseInterval returns DAGS_PARSE_INTERVAL used by scheduler.

func GetDataStore

func GetDataStore() string

GetDataStore returns the persistence backend type we are using.

func GetMoMoHome

func GetMoMoHome() string

GetMoMoHome returns MoMo home directory path.

func GetNumWorkers

func GetNumWorkers() int

GetNumWorkers tell us number of worker goroutines to spawn per worker

func GetPubSubClient

func GetPubSubClient() string

GetPubSubClient returns the pub sub backend type we are using.

func GetRuntimeEnv

func GetRuntimeEnv() string

GetRuntimeEnv returns RUNTIME_ENV. Used to configuration purposes. Same method is present in logger package to avoid circular import.

func NumCocurrencyGoRoutine

func NumCocurrencyGoRoutine() int

NumCocurrencyGoRoutine returns NUM_CONCURRENCY_GO_ROUTINE, which tells us how many goroutines to use when we want to do parallel processing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL