Restructure
This commit is contained in:
@@ -13,11 +13,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
CollectionName = "shares"
|
||||
|
||||
TopSharesCollectionName = "TopShares"
|
||||
TopSharesAmount = 20
|
||||
|
||||
CollectionName = "shares"
|
||||
TopSharesCollectionName = "TopShares"
|
||||
TimeWindowHighShareCollectionName = "TimeWindowHighShareStat"
|
||||
)
|
||||
|
||||
@@ -179,8 +176,6 @@ func ReplaceTopShares(db *clover.DB, shares []models.ShareLog) {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
log.Printf("Replaced TopShares with %d shares", len(shares))
|
||||
}
|
||||
|
||||
func GetTimeWindowHighShares(db *clover.DB) []models.TimeWindowHighShare {
|
||||
|
||||
Reference in New Issue
Block a user