twenty/packages/twenty-server
Weiko 02c34d547f
Fix redis connection (#7956)
## Context
bull-mq connection was not working as intended, the connection parameter
was ignored and was falling back to localhost.
This PR should fix the issue by instantiating a IORedis client following
bullmq documentation https://docs.bullmq.io/guide/connections
I also changed cache-storage module to use IORedis client as well to be
more consistent even though it was not necessary there. We could move
that instantiation to a factory class in the future.

## Test
start server + worker with correct port and wrong port with
cache-storage-type memory/redis and queue-type sync/bull-mq
2024-10-22 14:40:18 +00:00
..
@types feat: add integration tests (#6923) 2024-09-20 11:02:52 +02:00
patches Improve demo seed (#7125) 2024-09-18 17:35:08 +02:00
scripts [Server Integration tests] Enrich integration GraphQL API tests (#7699) 2024-10-17 19:16:19 +02:00
src Fix redis connection (#7956) 2024-10-22 14:40:18 +00:00
test/integration 7415 serverless functions update environment variables in a dedicated tab in settings functions not a env file (#7939) 2024-10-22 14:51:03 +02:00
.env.example feat(sso): allow to use OIDC and SAML (#7246) 2024-10-21 20:07:08 +02:00
.env.test [Server Integration tests] Enrich integration GraphQL API tests (#7699) 2024-10-17 19:16:19 +02:00
.eslintrc.cjs feat: add integration tests (#6923) 2024-09-20 11:02:52 +02:00
.gitignore feat: add integration tests (#6923) 2024-09-20 11:02:52 +02: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-integration.config.ts [Server Integration tests] Enrich integration GraphQL API tests (#7699) 2024-10-17 19:16:19 +02:00
jest.config.ts Fix all broken CIs (#7439) 2024-10-05 00:23:23 +02:00
nest-cli.json 6653 serverless functions store and use environment variables in serverless function scripts (#7390) 2024-10-03 13:56:17 +02:00
package.json feat(sso): allow to use OIDC and SAML (#7246) 2024-10-21 20:07:08 +02:00
project.json [Server Integration tests] Enrich integration GraphQL API tests (#7699) 2024-10-17 19:16:19 +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: add integration tests (#6923) 2024-09-20 11:02:52 +02:00
tsconfig.scripts.json feat: add integration tests (#6923) 2024-09-20 11:02:52 +02:00