]> cat aescling's git repositories - mastodon.git/commit
Use Account.local.sum(statuses_count) instead of Status.local.count (#4996)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Mon, 18 Sep 2017 12:59:57 +0000 (21:59 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 18 Sep 2017 12:59:57 +0000 (14:59 +0200)
commit9619b7f7278ed63ba2caaf6eaa1ef711d72c1918
tree8c34ea53e86f7e755c40efb7d8040a15ad55eeba
parent66be6475b643009bb13c1de7b6225d659f9e5112
Use Account.local.sum(statuses_count) instead of Status.local.count (#4996)

It is faster.
app/presenters/instance_presenter.rb