RippleDirstring`description:"The ripple folder (e.g. /var/www/ripple, NOT /var/www/ripple/osu.ppy.sh). Write the directory relatively to where the ripple-cron-go executable is placed."`
HanayoFolderstring
CalculateAccuracybool
CacheRankedScorebool
@@ -33,6 +34,7 @@ type config struct {
UnrankScoresOnInvalidBeatmapsbool`description:"Set to completed = 2 all scores on beatmaps that are not in the database."`
RemoveDonorOnExpiredbool
FixMultipleCompletedScoresbool`description:"Set completed=2 if multiple completed=3 scores for same beatmap and user are present."`
ClearExpiredProfileBackgroundsbool
Workersint`description:"The number of goroutines which should execute queries. Increasing it may make cron faster, depending on your system."`
}
@@ -185,6 +187,13 @@ func main() {
goopFixMultipleCompletedScores()
color.Green(" ok!")
}
ifc.ClearExpiredProfileBackgrounds{
fmt.Print("Removing profile backgrounds of expired donors...")
wg.Add(1)
goopClearExpiredProfileBackgrounds()
color.Green(" ok!")
}
wg.Wait()
color.Green("Data elaboration has been terminated.")