Skip to content

docs: clarify PostgreSQL timeout precedence - #181546

Merged
steipete merged 1 commit into
mainfrom
pgprep/pgfix-timeout-docs
Oct 23, 2026
Merged

steipete merged 1 commit into
mainfrom
pgprep/pgfix-timeout-docs

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The PostgreSQL guide lists timeout values without explaining why role or database timeout defaults do not apply to OpenClaw connections.

User Impact

Operators can distinguish OpenClaw's session liveness limits from the durability settings they control. This documentation change does not alter runtime behavior.

Why This Change Was Made

Clarify that OpenClaw sets lock_timeout to 60 seconds and statement_timeout to 90 seconds on its own sessions, overriding role and database defaults. The guide also makes explicit that synchronous_commit and other durability settings inherit the operator's configuration, as implemented in #180821.

Evidence

Verified the values and session scope against the connection policy and bridge initialization. pnpm docs:list identifies the canonical PostgreSQL guide; its formatting and MDX checks pass, as does git diff --check.

Explain that OpenClaw sets session lock and statement timeouts as liveness bounds, while durability settings inherit operator defaults.
@clawsweeper

clawsweeper Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review October 23, 2026 09:50
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime labels Oct 23, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-23T09:50:58.296287Z 8a8f43f Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete merged commit 7204b8c into main Oct 23, 2026
124 of 127 checks passed
@steipete
steipete deleted the pgprep/pgfix-timeout-docs branch October 23, 2026 09:58
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 24, 2026
Explain that OpenClaw sets session lock and statement timeouts as liveness bounds, while durability settings inherit operator defaults.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant