-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
feat: connect to redis sentinel for redis queue (backport #25506) #25556
Merged
akhilnarang
merged 2 commits into
version-14-hotfix
from
mergify/bp/version-14-hotfix/pr-25506
Mar 20, 2024
Merged
feat: connect to redis sentinel for redis queue (backport #25506) #25556
akhilnarang
merged 2 commits into
version-14-hotfix
from
mergify/bp/version-14-hotfix/pr-25506
Mar 20, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cherry picked from commit e9ece3b) # Conflicts: # frappe/utils/redis_queue.py
Cherry-pick of e9ece3b has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
frappe-pr-bot
pushed a commit
that referenced
this pull request
Mar 27, 2024
# [14.69.0](v14.68.2...v14.69.0) (2024-03-27) ### Bug Fixes * allow page length 2500 ([#25062](#25062)) ([d40a169](d40a169)) * **Contact form:** make email translatable ([1a794df](1a794df)) * **Contact form:** make title and options translatable ([6d731fa](6d731fa)) * **Contact form:** translate internal notification to system language ([2b2cf83](2b2cf83)) * DB Query distinct handling with full table name ([#25594](#25594)) ([#25596](#25596)) ([d201326](d201326)) * diff after converting to html to text ([#25582](#25582)) ([#25583](#25583)) ([68d6947](68d6947)) * don't parse CSV params for Excel ([87c6fc6](87c6fc6)) * duplicate translation of field labels ([471ad26](471ad26)) * fieldname referenced before assignment ([95a0db8](95a0db8)) * **lint:** v14 doesn't have typed doctype classes, so this was never needed ([#25578](#25578)) ([e343a32](e343a32)) * Mark totals row correctly for print ([#25629](#25629)) ([#25630](#25630)) ([a902f6d](a902f6d)) * only add title field in search if it exists ([#25634](#25634)) ([#25635](#25635)) ([446c4d6](446c4d6)) * pop from form_params ([377b35c](377b35c)) * ruff fixes ([8ecc7d9](8ecc7d9)) * test reportview ([bb5c3a1](bb5c3a1)) ### Features * add csv preview ([d89a126](d89a126)) * add test for exporting reportview as CSV ([4eb31e0](4eb31e0)) * add translation context ([88cfe4b](88cfe4b)) * allow setting a custom rate limit for `login via email link` feature ([b7a1da5](b7a1da5)) * connect to redis sentinel for redis queue (backport [#25506](#25506)) ([#25556](#25556)) ([a9ee773](a9ee773)) * CSV params for query report ([7493c4e](7493c4e)) * CSV params for report view ([9f14d65](9f14d65)) * german translations for export dialog ([eab535d](eab535d)) * hide csv settings in collapsible section ([efb70be](efb70be)) * preview real data ([91b20b8](91b20b8)) ### Performance Improvements * Faster "show title in link field" on list view ([#25597](#25597)) ([#25621](#25621)) ([7df36f6](7df36f6)) * remove useless sorting on docstatus ([#25571](#25571)) ([#25590](#25590)) ([5e65cc9](5e65cc9)) ### Reverts * Revert "fix: escape text types before setting disp area (#25520) (#25522)" (#25604) ([0bf0cb8](0bf0cb8)), closes [#25520](#25520) [#25522](#25522) [#25604](#25604)
🎉 This PR is included in version 14.69.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use redis sentinel for redis queue connection.
It is setup for production only.
Uses extra keys from common_site_config.json
At the moment we can connect to single redis master for queue. With this we can connect to sentinel cluster.
https://redis.io/docs/management/sentinel
To try it with frappe_docker/devcontainer make following changes to .devcontainer/docker-compose.yml
add redis_cache_* keys to common_site_config.json
Note: Nothing has changed to the
redis_queue
key. It will be used by socketio.Docs: https://frappeframework.com/app/wiki-page-patch/372939da4e
This is an automatic backport of pull request #25506 done by [Mergify](https://mergify.com).