Open MrKrisKrisu opened 4 months ago
This query is cached, but should still be improved.
We could rework our points-System so that the current scoreboard is not a rolling sum but rather a sum for the current week, just like swarm does it.
Would that be an option?
Raw query
Slow log
Generating code
https://github.com/Traewelling/traewelling/blob/ef863d7e4fa67364644e27775bb8e0bc7c0b2c47/app/Http/Controllers/Backend/LeaderboardController.php#L40-L70