mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
bd07658a37
This reduces the number of scans that the db has to do in the query to fetch orphan uploads. Futheremore, we were not batching our records which bloats memory.
3 lines
39 B
Ruby
3 lines
39 B
Ruby
Fabricator(:user_avatar) do
|
|
user
|
|
end
|