diff options
author | 2021-12-14 18:59:49 +0000 | |
---|---|---|
committer | 2021-12-14 18:59:49 +0000 | |
commit | f65184b5e454437c3c524d1236041f170fff3ea4 (patch) | |
tree | 7b661a9954ae335f44fdfe12aa089cbb7e84ec1d /pydis_site/apps/api/tests/base.py | |
parent | Merge pull request #634 from python-discord/bump-drf (diff) |
Query message count directly from messages
This was changed due to performance reasons, but after some tweaking in the database, such as increasing work memory and adding an index, this query runs much faster now.
To test this, I want to revert this change, so that we can stop the materialised view from refreshing, to see if the act of refreshing is what's causing this query to seem faster when runing against the database.
Diffstat (limited to 'pydis_site/apps/api/tests/base.py')
0 files changed, 0 insertions, 0 deletions