Restructure
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
|
||||
"pool-stats/config"
|
||||
"pool-stats/database"
|
||||
"pool-stats/ingest"
|
||||
"pool-stats/jobs"
|
||||
"pool-stats/web"
|
||||
)
|
||||
@@ -23,7 +22,7 @@ func main() {
|
||||
}
|
||||
defer db.Close()
|
||||
|
||||
ingestor := ingest.NewIngestor(db, config.LogPath)
|
||||
ingestor := jobs.NewIngestSharesJob(db, config.LogPath)
|
||||
go ingestor.WatchAndIngest()
|
||||
|
||||
topSharesRecalcJob := jobs.NewRecalculateTopSharesJob(db)
|
||||
|
||||
Reference in New Issue
Block a user