diff options
| author | William Pitcock <nenolod@dereferenced.org> | 2018-05-25 05:19:11 +0000 |
|---|---|---|
| committer | William Pitcock <nenolod@dereferenced.org> | 2018-05-25 05:23:49 +0000 |
| commit | 47dc52a75882497d00338d07a24ce978cc0f8300 (patch) | |
| tree | fb063487df783eb8c1f90a50432b62ec494e4ccf /test/web/twitter_api/views | |
| parent | f3a71f2986fc0787c03bec786e772353e99ae9f9 (diff) | |
| download | pleroma-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/twitter_api/views')
0 files changed, 0 insertions, 0 deletions
