gristlabs_grist-core/app/gen-server
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
..
entity (core) add initial support for special shares 2024-01-04 05:57:38 -05:00
lib Optimize sql query for workspace acl (#824) 2024-01-31 14:04:22 -05:00
migration (core) add initial support for special shares 2024-01-04 05:57:38 -05:00
ApiServer.ts (core) Add more telemetry events 2023-11-16 12:38:08 -05:00
sqlUtils.ts (core) fix bug where sharing doc with everyone@ as viewer made it unlisted for site viewers 2021-10-28 12:48:31 -04:00