• lain's avatar
    Avoid potentially slow count queries for user note count. · 4dcbb64f
    lain authored
    For a variety of reasons, posgresql won't use the available actor,
    type index to do an index only scan. We now just increase the user
    note count, which will lead to slightly wrong counts in some cases,
    but it's better than the potentially very slow count query.
    4dcbb64f
user.ex 8.35 KB