mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:53:59 +08:00
![Guo Xiang Tan](/assets/img/avatar_default.png)
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.
4 lines
39 B
Ruby
4 lines
39 B
Ruby
Fabricator(:user_avatar) do
|
|
user
|
|
end
|