1
0
mirror of https://github.com/etesync/server synced 2024-12-27 09:48:24 +00:00
etesync-server/etebase_server/fastapi
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
..
routers Optimize how we fetch the latest (current) revision 2022-06-19 22:25:49 +03:00
sendfile fix: move etebase_fastapi module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
__init__.py fix: move etebase_fastapi module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
db_hack.py fix: move etebase_fastapi module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
dependencies.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
exceptions.py fix: move etebase_fastapi module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
main.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
msgpack.py fix: move etebase_fastapi module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
redis.py fix: move django_etebase module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
stoken_handler.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