diff options
author | 2021-11-22 20:36:21 +0000 | |
---|---|---|
committer | 2021-11-22 20:36:21 +0000 | |
commit | 855bf5e7c7e54e9f8e4544545026c47092b52a11 (patch) | |
tree | 3cbad515fb0ee759997ae7d754feaaba6219bbc8 /pydis_site/apps/api/apps.py | |
parent | Merge pull request #625 from python-discord/filter-redirects (diff) |
Only calc activity blocks when <1k messages
We only truly care about how many activity blocks a user has when they have a small number of messages, as we only use this for the voice gate.
If a user has more than say 1k messages, then we really don't need to calculate their activity blocks, as it's quite an expensive query with many messages.
Diffstat (limited to 'pydis_site/apps/api/apps.py')
0 files changed, 0 insertions, 0 deletions