• Jonas Haraldsson's avatar
    Speed up PlaysByDays query · 0737463d
    Jonas Haraldsson authored
    Instead of looking through all scrobbles, we filter out old ones that we
    dont need before we do anything else.
    This takes advantage of the Scrobbles(time) database index and should speed up
    the query a lot.
Statistic.php 3.74 KB