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

Try to fix bgbouncer error in django admin in production #2873

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

mariusandra
Copy link
Collaborator

Changes

  • Django admin is currently unusable for us, since we're using bgbouncer and the DISABLE_SERVER_SIDE_CURSORS is not set in production
  • Fixes errors such as this one

Tested and seems to work for me:

image

Checklist

  • All querysets/queries filter by Organization, by Team, and by User
  • Django backend tests
  • Jest frontend tests
  • Cypress end-to-end tests

@timgl timgl temporarily deployed to posthog-production-bgbo-qyjasd January 7, 2021 10:10 Inactive
@mariusandra
Copy link
Collaborator Author

I'm going to merge this as I need django admin working to help a customer.

@mariusandra mariusandra merged commit 2dc47b4 into master Jan 7, 2021
@mariusandra mariusandra deleted the production-bgbouncer-fix branch January 7, 2021 10:42
@mariusandra
Copy link
Collaborator Author

Seems to have worked! I can open pages in django admin again!

@paolodamico
Copy link
Contributor

Great stuff! Works for me too.

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

3 participants