Skip to content

Commit

Permalink
fixup: no space before and after slash
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Svensson <[email protected]>
  • Loading branch information
bjosv committed Aug 27, 2024
1 parent d4dca57 commit 3f2d5be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ It is not intended as a complete reference. For that it's always best to refer t
- [Connecting](#connecting)
- [Executing commands](#executing-commands)
- [Executing commands on a specific node](#executing-commands-on-a-specific-node)
- [Disconnecting / cleanup](#disconnecting--cleanup)
- [Disconnecting/cleanup](#disconnecting-cleanup)
- [Pipelining](#pipelining)
- [Events](#events)
- [Asynchronous API](#asynchronous-api)
- [Connecting](#connecting-1)
- [Executing commands](#executing-commands-1)
- [Executing commands on a specific node](#executing-commands-on-a-specific-node-1)
- [Disconnecting / cleanup](#disconnecting--cleanup-1)
- [Disconnecting/cleanup](#disconnecting-cleanup-1)
- [Events](#events-1)
- [Miscellaneous](#miscellaneous)
- [Extend the list of supported commands](#extend-the-list-of-supported-commands)
Expand Down Expand Up @@ -96,7 +96,7 @@ This function handles `printf`-like arguments similar to `valkeyClusterCommand()
If the command times out or the connection to the node fails, a slot map update is scheduled to be performed when the next command is sent.
`valkeyClusterCommandToNode` also performs a slot map update if it has previously been scheduled.

### Disconnecting / cleanup
### Disconnecting/cleanup

To disconnect and free the context the following function can be used:

Expand Down Expand Up @@ -267,7 +267,7 @@ status = valkeyClusterAsyncCommandToNode(acc, node, commandCallback, privdata, "
This functions will only attempt to send the command to a specific node and will not perform redirects or retries, but communication errors will trigger a slot map update just like the commonly used API.


### Disconnecting / cleanup
### Disconnecting/cleanup

Asynchronous cluster connections can be terminated using:

Expand Down
4 changes: 2 additions & 2 deletions docs/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This document describes using `libvalkey` in standalone (non-cluster) mode, incl
- [Executing commands](#executing-commands)
- [Using replies](#using-replies)
- [Reply types](#reply-types)
- [Disconnecting / cleanup](#disconnecting--cleanup)
- [Disconnecting/cleanup](#disconnecting-cleanup)
- [Pipelining](#pipelining)
- [Errors](#errors)
- [Thread safety](#thread-safety)
Expand Down Expand Up @@ -139,7 +139,7 @@ When a `valkeyReply` is returned, you should test the `valkeyReply->type` field
- `VALKEY_REPLY_ATTR` - An attribute reply. As of yet unused by valkey-server.
- `VALKEY_REPLY_PUSH` - An out of band push reply. This is also array-like in nature.

### Disconnecting / cleanup
### Disconnecting/cleanup

When libvalkey returns non-null `valkeyReply` struts you are responsible for freeing them with `freeReplyObject`. In order to disconnect and free the context simply call `valkeyFree`.

Expand Down

0 comments on commit 3f2d5be

Please sign in to comment.