config

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 8 Imported by: 0

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

func GetRenewContingencyPercentage() (percent int)

func InitTestDB

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