mirror of
https://github.com/etesync/server
synced 2024-11-28 03:38: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. |
||
---|---|---|
.. | ||
migrations | ||
token_auth | ||
__init__.py | ||
app_settings_inner.py | ||
apps.py | ||
models.py | ||
signals.py | ||
utils.py |