Loading cron.go +7 −0 Changes for cron.go: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ type config struct { DeleteReplayCache bool BuildLeaderboards bool CalculatePP bool FixScoreDuplicates bool `description:"might take a VERY long time"` LogQueries bool `description:"You don't wanna do this in prod."` Workers int `description:"The number of goroutines which should execute queries. Increasing it may make cron faster, depending on your system."` Loading Loading @@ -121,6 +122,12 @@ func main() { go opCalculatePP() color.Green(" ok!") } if c.FixScoreDuplicates { fmt.Print("Starting fixing score duplicates...") wg.Add(1) go opFixScoreDuplicates() color.Green(" ok!") } wg.Wait() color.Green("Data elaboration has been terminated.") Loading Loading
cron.go +7 −0 Changes for cron.go: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ type config struct { DeleteReplayCache bool BuildLeaderboards bool CalculatePP bool FixScoreDuplicates bool `description:"might take a VERY long time"` LogQueries bool `description:"You don't wanna do this in prod."` Workers int `description:"The number of goroutines which should execute queries. Increasing it may make cron faster, depending on your system."` Loading Loading @@ -121,6 +122,12 @@ func main() { go opCalculatePP() color.Green(" ok!") } if c.FixScoreDuplicates { fmt.Print("Starting fixing score duplicates...") wg.Add(1) go opFixScoreDuplicates() color.Green(" ok!") } wg.Wait() color.Green("Data elaboration has been terminated.") Loading