Files
gristlabs_grist-core/app/gen-server/lib
Florent 866ec66096 Optimize sql query for workspace acl (#824)
Without this optimization, we fetched loads of entries from the database, which led to database and nodejs overloads.

We could go further, this is a modest patch towards better performance.

We use two queries: one fetches the workspaces, the second the organization that the workspace belongs to.

---------

Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
2024-01-31 14:04:22 -05:00
..
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00