Precalculate index stats
This commit is contained in:
13
constants/constants.go
Normal file
13
constants/constants.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package constants
|
||||
|
||||
import "time"
|
||||
|
||||
// time.Duration constants
|
||||
const (
|
||||
// RecalculateTimeWindowHighSharesJob interval
|
||||
RecalculateTimeWindowHighSharesJobInterval = 1 * time.Minute
|
||||
// RecalculateTopSharesJob interval
|
||||
RecalculateTopSharesJobInterval = 30 * time.Second
|
||||
// IngestorWatchInterval interval
|
||||
IngestorWatchInterval = 30 * time.Second
|
||||
)
|
||||
Reference in New Issue
Block a user