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
Click to show internal directories.
Click to hide internal directories.