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 // RecalculateCurrentDayStatsJob interval RecalculateCurrentDayStatsJobInterval = 30 * time.Minute ) // counts and stuff const ( // TopSharesAmount is the number of top shares to keep TopSharesAmount = 15 // DailyStatsPerPage is the number of daily stats per page DailyStatsPerPage = 15 ) // EpochTime is the start time for daily stats var EpochTime = time.Date(2025, 5, 1, 0, 0, 0, 0, time.UTC)