pool-stats/constants/constants.go
Pijus Kamandulis 4ddd9abd2e Restructure
2025-06-23 19:38:02 +03:00

20 lines
452 B
Go

package constants
import "time"
// time.Duration constants
const (
// RecalculateTimeWindowHighSharesJob interval
RecalculateTimeWindowHighSharesJobInterval = 1 * time.Minute
// RecalculateTopSharesJob interval
RecalculateTopSharesJobInterval = 30 * time.Second
// IngestSharesJob interval
IngestSharesJobInterval = 30 * time.Second
)
// counts and stuff
const (
// TopSharesAmount is the number of top shares to keep
TopSharesAmount = 15
)