Closed trouni closed 1 year ago
This endpoint takes a lot of time at the moment, probably due to the User#score calculations. Need to investigate and optimize.
User#score
The problem seems to come from the User#score method, as well as an N+1 involving the Match#round association.
Match#round
Fixed by #110
This endpoint takes a lot of time at the moment, probably due to the
User#score
calculations. Need to investigate and optimize.The problem seems to come from the
User#score
method, as well as an N+1 involving theMatch#round
association.