Precalculate index stats
This commit is contained in:
@@ -29,6 +29,9 @@ func main() {
|
||||
topSharesRecalcJob := jobs.NewRecalculateTopSharesJob(db)
|
||||
go topSharesRecalcJob.Run()
|
||||
|
||||
timeWindowHighSharesRecalcJob := jobs.NewRecalculateTimeWindowHighSharesJob(db)
|
||||
go timeWindowHighSharesRecalcJob.Run()
|
||||
|
||||
webServer := web.NewWebServer(db, config.Port)
|
||||
if err := webServer.Start(); err != nil {
|
||||
log.Fatalf("Failed to start web server: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user