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

feat: add read replica support #9339

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

vishnu-narayanan
Copy link
Member

Pull Request Template

Description

  • Add read_replica support in production to improve performance

Fixes https://linear.app/chatwoot/issue/CW-3267/setup-read-replica-on-production

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link

linear bot commented May 2, 2024

@vishnu-narayanan vishnu-narayanan temporarily deployed to chatwoot-pr-9339 May 3, 2024 04:39 Inactive
@vishnu-narayanan vishnu-narayanan temporarily deployed to chatwoot-pr-9339 May 16, 2024 03:15 Inactive
…ing role

These methods are used by the widget to create a contact and helpcenter to
increment the view count. Since these methods are triggered by GET
request, Rails will use the reading role which will fail if the table
is readonly.
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.

None yet

1 participant