Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split cache config from queue config. #902

Merged
merged 23 commits into from
Mar 19, 2024
Merged

Conversation

Half-Shot
Copy link
Contributor

The reason these were conjoined is because we originally wanted a Redis for worker mode, and eventually started using it as a cache. These days we recommend using Redis as a cache, but not for message queueing. This is really confusing, and to be honest could easily be seperated into two configs.

This changes does just that. We're also going to move towards redisUri because frankly it allows more options for less work.

@Half-Shot Half-Shot requested a review from a team as a code owner February 26, 2024 10:48
Copy link
Member

@AndrewFerr AndrewFerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some documentation requests

config.sample.yml Outdated Show resolved Hide resolved
cache:
redisUri: "redis://redis-host:3679"
```

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/advanced/encryption.md needs updating to mention that crypto requires this config to be enabled (instead of queue.monolithic).

Half-Shot and others added 3 commits March 7, 2024 10:44
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
Signed-off-by: Will Hunt <will@half-shot.uk>
Signed-off-by: Will Hunt <will@half-shot.uk>
Signed-off-by: Will Hunt <will@half-shot.uk>
Copy link
Member

@AndrewFerr AndrewFerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The config in helm/hookshot/values.yaml should be updated too.

src/config/Config.ts Outdated Show resolved Hide resolved
Half-Shot and others added 2 commits March 18, 2024 16:06
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
Signed-off-by: Will Hunt <will@half-shot.uk>
@Half-Shot
Copy link
Contributor Author

Believe everything has been addressed 🥳

@Half-Shot Half-Shot merged commit 082a61f into main Mar 19, 2024
14 checks passed
@Half-Shot Half-Shot deleted the hs/simplify-cache-config branch March 19, 2024 16:45
spantaleev added a commit to spantaleev/matrix-docker-ansible-deploy that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants