-
-
Notifications
You must be signed in to change notification settings - Fork 48
chore: add PgBouncer/RDS Proxy guidance for DATABASE_STATEMENT_TIMEOUT #1353
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
Conversation
Deploying logto-docs-tutorials with
|
| Latest commit: |
30e8b3d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://64e3490d.logto-docs-tutorials.pages.dev |
| Branch Preview URL: | https://yemq-update-docs-for-pgbounc.logto-docs-tutorials.pages.dev |
Deploying logto-docs with
|
| Latest commit: |
30e8b3d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0d497c6f.logto-docs.pages.dev |
| Branch Preview URL: | https://yemq-update-docs-for-pgbounc.logto-docs.pages.dev |
1ee4251 to
5666615
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR extends the OSS documentation to cover the new DATABASE_STATEMENT_TIMEOUT configuration and provides guidance for running Logto behind PgBouncer or RDS Proxy, especially when encountering unsupported startup parameter: statement_timeout.
Changes:
- Document
DATABASE_STATEMENT_TIMEOUTin the core configuration reference and OSS deployment docs, including version scope (v1.36.0+) and behavior (numeric ms vsDISABLE_TIMEOUT, default 60000 ms). - Update the OSS quick start Docker instructions with an example showing how to disable
statement_timeoutfor PgBouncer/RDS Proxy and add a troubleshooting tip for the related startup error. - Add a dedicated troubleshooting entry explaining how to handle database proxies that reject the
statement_timeoutstartup parameter.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
docs/logto-oss/troubleshooting-oss.mdx |
Adds a troubleshooting section for PgBouncer/RDS Proxy failures caused by unsupported startup parameter: statement_timeout and explains use of DATABASE_STATEMENT_TIMEOUT. |
docs/logto-oss/get-started-with-oss.mdx |
Extends the Docker quick start with DATABASE_STATEMENT_TIMEOUT in the env-var block and adds a tip for PgBouncer/RDS Proxy error handling. |
docs/logto-oss/deployment-and-configuration.mdx |
Introduces DATABASE_STATEMENT_TIMEOUT as an essential environment variable with a brief explanation and link to the configuration reference. |
docs/concepts/core-service/configuration.md |
Updates the environment variable table to include DATABASE_STATEMENT_TIMEOUT with detailed behavior and defaults. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary