Restructure

This commit is contained in:
Pijus Kamandulis
2025-06-23 19:38:02 +03:00
parent f66fbcc454
commit 4ddd9abd2e
7 changed files with 25 additions and 28 deletions

View File

@@ -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 {