1
0
mirror of https://github.com/etesync/server synced 2024-11-19 07:18:08 +00:00
etesync-server/etebase_server/fastapi/routers
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
..
__init__.py fix: move etebase_fastapi module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
authentication.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
collection.py Optimize how we fetch the latest (current) revision 2022-06-19 22:25:49 +03:00
invitation.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
member.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
test_reset_view.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
websocket.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00