twenty/packages/twenty-server
Charles Bochet 612a875c7b
Remove performance logs (#6709)
We have found the root cause of the issue:
- when using a datasource (including the cached ones), we are fetching
ObjectMetadataCollection from cache (700kB). Datasource usage is
happening any time we are using twentyORM, which is everywhere in the
jobs and in some resolvers (including the GetCurrentUser one). This is
leading to a high load on redis and leading to the performance issues we
are seeing.
- we actually don't need to fetch this objectMetadataCollection while
using a cached datasource, only when we instantiate a new one
2024-08-21 14:17:11 +02:00
..
@types Improve performance twenty orm (#6691) 2024-08-20 19:42:02 +02:00
patches Improve performance twenty orm (#6691) 2024-08-20 19:42:02 +02:00
scripts Update render deploy configuration (#6167) 2024-07-09 00:27:07 +02:00
src Remove performance logs (#6709) 2024-08-21 14:17:11 +02:00
test Deprecate address standard field (#6087) 2024-07-10 18:07:18 +02:00
.env.example 6181 workflows create a custom code executor (#6235) 2024-07-17 17:53:01 +02:00
.env.test Rename mutation maximum affected records (#6042) 2024-06-26 18:00:25 +02:00
.eslintrc.cjs feat: add eslint rule for enforcing WorkspaceService naming convention (#6308) 2024-07-19 19:17:57 +02:00
.gitignore feat: workspace:health nullable fix (#3882) 2024-02-08 18:22:29 +01:00
.prettierignore Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.prettierrc Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.swcrc feat: twenty orm for standard and custom objects (#6178) 2024-07-19 18:23:52 +02:00
jest.config.ts 4840 multi workspace update user userworkspace inconsistent on delete set null constraint (#5373) 2024-05-13 14:50:27 +02:00
nest-cli.json chore: use Nx affected tasks in CI (#5110) 2024-04-30 16:28:25 +02:00
package.json feat: soft delete (#6576) 2024-08-16 21:20:02 +02:00
project.json Leverage workspace activationStatus to decide if a workspace is activated or not (#6497) 2024-08-01 17:05:15 +02:00
tsconfig.build.json chore: set up twenty-emails config so build isn't needed in development (#3619) 2024-01-29 06:17:12 -03:00
tsconfig.json feat: twenty orm for standard and custom objects (#6178) 2024-07-19 18:23:52 +02:00