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 (core) move apiserver tests to core, disentangling notifier+billing parts 2023-12-26 08:43:12 -05:00
ApiServerAccess.ts Optimize sql query for workspace acl (#824) 2024-01-31 14:04:22 -05:00
ApiServerBenchmark.ts (core) move apiserver tests to core, disentangling notifier+billing parts 2023-12-26 08:43:12 -05:00
ApiServerBugs.ts (core) move apiserver tests to core, disentangling notifier+billing parts 2023-12-26 08:43:12 -05:00
ApiSession.ts (core) move apiserver tests to core, disentangling notifier+billing parts 2023-12-26 08:43:12 -05:00
apiUtils.ts Optimize sql query for workspace acl (#824) 2024-01-31 14:04:22 -05:00
AuthCaching.ts (core) move apiserver tests to core, disentangling notifier+billing parts 2023-12-26 08:43:12 -05:00
migrations.ts (core) add Shares migration to rollback test 2024-01-11 11:48:38 -05:00
seed.ts Allow URLs with only a docID #768 (#771) 2023-11-29 15:13:29 -05:00
testUtils.ts (core) Limiting doc remove permission to owners. 2022-11-30 23:37:18 +01:00