mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
I'm hesitant to call this a performance improvement since claiming a reviewable is probably rare. However, this commit cuts out two DB queries each time we have to publish a reviewable claimed message. More importantly, publishing to groups scales much better than publishing to users because we esstentially cap the number ids we have to load into memory.