Flagging N+1 Query Bug


(Ryn) #1

Flags page is timing out because of a n+1 query. Prevents all attempts at loading up the page to get through and actually handle any of the flags.


(Régis Hanol) #2

FYI: I’m currently working on improving the admin flags pages (including fixing the N+1 query) :wink:


(Ryn) #3

Good to hear! Thanks for the information.


(Régis Hanol) #4

This is now done :wink:

https://github.com/discourse/discourse/commit/bddffa7f9a885a2d10efb2a92ffd144c79faa14a


(Jeff Atwood) #5