1
0
mirror of https://github.com/etesync/server synced 2024-11-28 03:38:07 +00:00
etesync-server/etebase_server/django
Tom Hacohen 2f1f95fea9 Optimize how we fetch the latest (current) revision
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.
2022-06-19 22:25:49 +03:00
..
migrations fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
token_auth fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
__init__.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
app_settings_inner.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
apps.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
models.py Optimize how we fetch the latest (current) revision 2022-06-19 22:25:49 +03:00
signals.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
utils.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00