You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -420,7 +420,7 @@ Another way to detect that the slot map has been updated is to [register an even
420
420
421
421
The list of commands and the position of the first key in the command line is defined in [`src/cmddef.h`](../src/cmddef.h) which is included in this repository.
422
422
It has been generated using the `JSON` files describing the syntax of each command in the Valkey repository, which makes sure we support all commands in Valkey, at least in terms of cluster routing.
423
-
To add support for custom commands defined in modules, you can regenerate `cmddef.h` using the script [`gencommands.py`](../script/gencommands.py).
423
+
To add support for custom commands defined in modules, you can regenerate `cmddef.h` using the script [`gencommands.py`](../scripts/gencommands.py).
424
424
Use the `JSON` files from Valkey and any additional files on the same format as arguments to the script.
425
425
For details, see the comments inside `gencommands.py`.
// Handle error conditions similarly to `valkeyCommand`
@@ -146,7 +146,7 @@ When a `valkeyReply` is returned, you should test the `valkeyReply->type` field
146
146
147
147
### Disconnecting/cleanup
148
148
149
-
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`.
149
+
When libvalkey returns non-null `valkeyReply`structs you are responsible for freeing them with `freeReplyObject`. In order to disconnect and free the context simply call `valkeyFree`.
0 commit comments