config

package
v0.7.17-Pre5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConstMinQuestionsCountPerChallenge = 100
	ConstMinQuestionsCountPerShard     = 100

	ConstRequestPayoutBatchPageSize = 100
)
View Source
var (
	DbStatusURL         string
	DbGuardURL          string
	RdURL               string
	FoundPgStatusString bool
	FoundPgGuardString  bool
	FoundDbRdString     bool
)

Functions

func GetMinimumQuestionsCountPerShard

func GetMinimumQuestionsCountPerShard(status *guard.FileStoreStatus) (val int)

func GetRenewContingencyPercentage added in v0.5.7

func GetRenewContingencyPercentage() (percent int)

func InitTestDB added in v0.4.0

func InitTestDB() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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