gristlabs_grist-core/test/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
..
ApiServer.ts
ApiServerAccess.ts
ApiServerBenchmark.ts
ApiServerBugs.ts
ApiSession.ts
apiUtils.ts
AuthCaching.ts
migrations.ts
seed.ts
testUtils.ts