Slow N+1 query
rasaffie opened this issue · 0 comments
rasaffie commented
The method 'mark_array_as_read' has a N+1 query when creating read_marks for multiple readables.
Wrapping the 'save!' method of all objects in a single transaction could speed up the process.