SQL shared_drafts queries-will it be cached?

I just don’t know. The function is new, is this the usual behavior?
How many topics per page, so many sql hits?

v2.0.0.beta4 +192


23.03 - v2.0.0.beta4 +214
Add: I’m sorry, but I guess it’s not working properly yet.

2 Likes

Looks like a N+1 when viewing /latest of the shared drafts category @eviltrout

5 Likes

Thanks, I’ve fixed it here:

https://github.com/discourse/discourse/commit/41fc8e32e272324001905ee0d9b7d2c18357ebc5

8 Likes