mirror of
https://github.com/etesync/server
synced 2024-11-24 17:58:07 +00:00
2f1f95fea9
The way were were doing it was implicitly sorting the query items and it was causing millions of items to be sorted (even though the result should only have one) making it slow. By switching away from `get()` and `first()` we are telling django to not try to sort. |
||
---|---|---|
.. | ||
django | ||
fastapi | ||
myauth | ||
templates | ||
__init__.py | ||
asgi.py | ||
settings.py | ||
urls.py | ||
utils.py |