20 lines
452 B
Go
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
|
|
)
|