Changes for cron.go: 20 added lines, 1 removed line.
Original line number
Diff line number
Diff line
@@ -27,6 +27,7 @@ type config struct {
CalculatePPbool
FixScoreDuplicatesbool`description:"might take a VERY long time"`
Lockbool`description:"Do this in prod if you have a lot of users. It will avoid memes of leaderboard update, but it will be slower (no multi mysql connections)"`
LogQueriesbool`description:"You don't wanna do this in prod."`
Workersint`description:"The number of goroutines which should execute queries. Increasing it may make cron faster, depending on your system."`