Repository navigation
docs: clarify config tables, fix typos, and align JSDoc examples - #3458
Merged
nkaradzhov merged 1 commit intoSep 18, 2026
Merged
Conversation
nkaradzhov
approved these changes
Sep 18, 2026
nkaradzhov
left a comment
Collaborator
There was a problem hiding this comment.
CLGTM — verified the new cluster rows (keyPrefix, commandOptions, clientSideCache, topologyRefreshOnReconnectionAttemptStrategy) and sentinel rows against the current types, and the rewritten JSDoc examples correctly drop the bogus top-level minimum (pool-only) and add the required root-node fields. The docs/ links are right to be relative — absolute GitHub URLs are only the convention in the npm-published READMEs, which this PR doesn't touch.
Optional nit, not blocking: the pool.md example no longer demonstrates type mapping — could restore as pool.withTypeMapping(...).ping() to keep that coverage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Checklist
npm testpass with this change (including linting)?Note
Low Risk
Documentation and JSDoc-only changes with no runtime or API behavior modifications.
Overview
This PR documents cluster and sentinel options that were already in the client but missing from the guides:
keyPrefix,commandOptions,clientSideCache, and (for cluster)topologyRefreshOnReconnectionAttemptStrategy, with links to the key-prefixing, command-options, and v5 caching sections.It also cleans up docs and comments: relative
./pool.mdlinks instead of GitHub URLs, small copy fixes (ASAP “to send” queue, punctuation),withCommandOptionsexamples now includetimeout, and pool examples callpool.ping()instead ofclient.JSDoc on
clientSideCachein cluster and sentinel types no longer describes “pooled mode”; examples usecreateCluster/createSentinelwith the requiredrootNodes/namefields instead of pool-styleminimumoptions.Reviewed by Cursor Bugbot for commit 938e1b8. Bugbot is set up for automated code reviews on this repo. Configure here.