Skip to content

[Hyperdrive] Update paid connection limit - #33384

Open
ivoryibu wants to merge 1 commit into
productionfrom
docs/hyperdrive-paid-connection-limit
Open

[Hyperdrive] Update paid connection limit#33384
ivoryibu wants to merge 1 commit into
productionfrom
docs/hyperdrive-paid-connection-limit

Conversation

@ivoryibu

Copy link
Copy Markdown
Collaborator

Updates Hyperdrive limits docs and changelogs to reflect the higher Workers Paid per-configuration origin connection limit. Also clarifies how to set the value relative to the origin database limit.\n\n- Raises the documented Workers Paid origin database connection limit from 100 to 1,500 per Hyperdrive configuration.\n- Defines the origin connection limit as the maximum number of database connections Hyperdrive can make to the origin database.\n- Clarifies that the value should stay lower than the origin database connection limit, and that it is configurable from the Hyperdrive configuration settings in the dashboard.\n- Adds a brief Hyperdrive changelog and release note entry for the limit increase.\n\nValidation:\n- pnpm exec prettier --write on edited files\n- git diff --staged --check\n- pnpm run check (fails on unrelated generated skills/turnstile-spin types: ExportedHandler and Fetcher not found)

@github-actions github-actions Bot added product:hyperdrive Hyperdrive: https://developers.cloudflare.com/hyperdrive/ product:changelog labels Sep 10, 2026
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Review

💡 3 suggestions found in commit aeaa7fe.

👉 Fix in your agent 👈
Fix the following review findings in PR #33384 (https://github.com/cloudflare/cloudflare-docs/pull/33384).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
  or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.

---

## Code Review

### Suggestions (1)

#### CR-35a29e03ac12 · Hardcoded limit duplicates canonical limits page
- **File:** `src/content/docs/hyperdrive/configuration/tune-connection-pool.mdx` line 70
- **Issue:** The previous wording ('The maximum connection count depends on your Workers plan', linking to /hyperdrive/platform/limits/) was replaced with a hardcoded '1,500 connections per configuration' for Paid plans. The canonical limits page already lists this value (and the Free-plan maximum of 20), so the number now exists in two places and can drift; the change also drops the reference for Free-plan readers, who get no indication of their maximum.
- **Fix:** Consider keeping the link to the limits page (e.g., 'The maximum connection count depends on your Workers plan — refer to the limits page for details') alongside the explicit 1,500 figure, or state both the Free (20) and Paid (1,500) maximums, so the page does not silently diverge from the authoritative limits table.

---

## Style Guide Review

### Suggestions (2)

#### SG-7bbc0485a251 · Passive voice
- **File:** `src/content/docs/hyperdrive/platform/limits.mdx` line 47
- **Issue:** `The connection pool is exhausted because connections are held open too long.` uses passive constructions (`is exhausted`, `are held open`) where active voice would be clearer.
- **Fix:** Rewrite in active voice, for example: `The connection pool is exhausted because clients hold connections open too long. Long-running queries or transactions are a common cause.`

#### SG-ff9e7787efc5 · Prefer active voice
- **File:** `src/content/docs/hyperdrive/concepts/connection-pooling.mdx` line 27
- **Issue:** Line uses passive construction: "prevent existing connections from being used"
- **Fix:** Rewrite in active voice, e.g. "Hyperdrive may create more connections if network disruptions make existing connections unusable."

Code Review

This code review is in beta and may not always be helpful — use your judgment.

Suggestions (1)
File Issue
hyperdrive/configuration/tune-connection-pool.mdx line 70 Hardcoded limit duplicates canonical limits page — The previous wording ('The maximum connection count depends on your Workers plan', linking to /hyperdrive/platform/limits/) was replaced with a hardcoded '1,500 connections per configuration' for Paid plans. The canonical limits page already lists this value (and the Free-plan maximum of 20), so the number now exists in two places and can drift; the change also drops the reference for Free-plan readers, who get no indication of their maximum. Fix: Consider keeping the link to the limits page (e.g., 'The maximum connection count depends on your Workers plan — refer to the limits page for details') alongside the explicit 1,500 figure, or state both the Free (20) and Paid (1,500) maximums, so the page does not silently diverge from the authoritative limits table.

Conventions

No convention issues found.

Style Guide Review

Suggestions (2)
File Issue
hyperdrive/platform/limits.mdx line 47 Passive voiceThe connection pool is exhausted because connections are held open too long. uses passive constructions (is exhausted, are held open) where active voice would be clearer. Fix: Rewrite in active voice, for example: The connection pool is exhausted because clients hold connections open too long. Long-running queries or transactions are a common cause.
hyperdrive/concepts/connection-pooling.mdx line 27 Prefer active voice — Line uses passive construction: "prevent existing connections from being used" Fix: Rewrite in active voice, e.g. "Hyperdrive may create more connections if network disruptions make existing connections unusable."
Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/hyperdrive/ @irvinebroque, @ivoryibu, @knickish, @rita3ko, @sejoker, @thomasgauvin, @vy-ton, @cloudflare/pm-changelogs, @cloudflare/product-owners
/src/content/docs/hyperdrive/ @irvinebroque, @ivoryibu, @knickish, @rita3ko, @sejoker, @thomasgauvin, @vy-ton, @cloudflare/product-owners
/src/content/release-notes/hyperdrive.yaml @irvinebroque, @ivoryibu, @knickish, @rita3ko, @sejoker, @thomasgauvin, @vy-ton, @cloudflare/product-owners

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-hyperdrive-paid-connection-limit.previews.developers.cloudflare.com (commit aeaa7fe)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://44fccb4b.previews.developers.cloudflare.com aeaa7fe 2026-09-10T19:58:12.385Z Visit the dashboard ↗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:changelog product:hyperdrive Hyperdrive: https://developers.cloudflare.com/hyperdrive/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants