config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeConfig

type RuntimeConfig struct {
	StoreSnapshotsSaveInterval uint64
	ExecOutputSaveInterval     uint64
	SubrequestsSplitSize       uint64 // in multiple of the SaveIntervals above
	ParallelSubrequests        uint64 // how many sub-jobs to launch for a given user
	// derives substores `states/`, for `store` modules snapshots (full and partial)
	// and `outputs/` for execution output of both `map` and `store` module kinds
	BaseObjectStore  dstore.Store
	WorkerFactory    work.WorkerFactory
	WithRequestStats bool
}

func NewRuntimeConfig

func NewRuntimeConfig(
	storeSnapshotsSaveInterval uint64,
	execOutputSaveInterval uint64,
	subrequestsSplitSize uint64,
	parallelSubrequests uint64,
	baseObjectStore dstore.Store,
	workerFactory work.WorkerFactory,
) RuntimeConfig

Jump to

Keyboard shortcuts

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