Skip to content

Conversation

@darcyYe
Copy link
Contributor

@darcyYe darcyYe commented Jan 29, 2026

Summary

  • Add DATABASE_STATEMENT_TIMEOUT to configuration and OSS deployment docs with v1.36.0+ note.
  • Update OSS quick start with an example and tip for PgBouncer/RDS Proxy.
  • Add a troubleshooting entry for unsupported startup parameter: statement_timeout.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 29, 2026

Deploying logto-docs-tutorials with  Cloudflare Pages  Cloudflare Pages

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

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 29, 2026

Deploying logto-docs with  Cloudflare Pages  Cloudflare Pages

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

View logs

@darcyYe darcyYe force-pushed the yemq-update-docs-for-pgbouncer-rdsproxy branch from 1ee4251 to 5666615 Compare January 29, 2026 09:19
@darcyYe darcyYe requested a review from a team January 29, 2026 10:38
@darcyYe darcyYe marked this pull request as ready for review January 29, 2026 10:38
Copilot AI review requested due to automatic review settings January 29, 2026 10:38
Copy link
Contributor

Copilot AI left a 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_TIMEOUT in the core configuration reference and OSS deployment docs, including version scope (v1.36.0+) and behavior (numeric ms vs DISABLE_TIMEOUT, default 60000 ms).
  • Update the OSS quick start Docker instructions with an example showing how to disable statement_timeout for 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_timeout startup 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.

@darcyYe darcyYe merged commit a15754e into master Jan 30, 2026
19 checks passed
@darcyYe darcyYe deleted the yemq-update-docs-for-pgbouncer-rdsproxy branch January 30, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants