timiimit / UT4MasterServer

Reimplementation of Epic's server for Unreal Tournament pre-alpha
https://ut4.timiimit.com
59 stars 18 forks source link

Merge old statistic records into one #107

Closed belmirp closed 1 year ago

belmirp commented 1 year ago

This job will be executed once per day at the time defined in the appsettings.

It will look for daily non-flagged statistic records that are older than 7 days, and merge them into one statistic record with Window = DailyMerged. If there is only one record per account per day, that record is only modified to have Window = DailyMerged.

Here are some examples of the process:

MergingOldStatistics_Example1 MergingOldStatistics_Example2 MergingOldStatistics_Example3

belmirp commented 1 year ago

Related: #22