summaryrefslogtreecommitdiff
path: root/test/web/common_api/common_api_test.exs
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-05-25 05:19:11 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-05-25 05:23:49 +0000
commit47dc52a75882497d00338d07a24ce978cc0f8300 (patch)
treefb063487df783eb8c1f90a50432b62ec494e4ccf /test/web/common_api/common_api_test.exs
parentf3a71f2986fc0787c03bec786e772353e99ae9f9 (diff)
downloadpleroma-47dc52a75882497d00338d07a24ce978cc0f8300.tar.gz
pleroma-47dc52a75882497d00338d07a24ce978cc0f8300.zip
activitypub utils: optimize block and follow activity lookup
multi-field @> comparison is very expensive, so only use @> for the field where it matters this makes the query take only a few usec to execute verses many msec on a busy instance
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
0 files changed, 0 insertions, 0 deletions