Skip to content

Commit

Permalink
Small README edits
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Sep 3, 2024
1 parent 4c95855 commit 6c33ddd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,8 @@ Execution blocks offer a fairly simple way of bunching
Redis *redis = ...;
RESP *result;
// Obtain the client on which to execute the block, e.g. the INTERACTIVE_CHANNEL
// Obtain a lock on the client on which to execute the block.
// e.g. the INTERACTIVE_CHANNEL
RedisClient *cl = redisxGetClient(redis, INTERACTIVE_CHANNEL);
int status = redisxLockEnabled(cl);
Expand Down Expand Up @@ -673,7 +674,7 @@ Execution blocks offer a fairly simple way of bunching
...
```

If at any point things don't go accoring to plan in the middle of the block, you can call `redisAbortBlockAsync()` to
If at any point things don't go according to plan in the middle of the block, you can call `redisAbortBlockAsync()` to
abort and discard all prior commands submitted in the execution block already.

<a name="lua-script-loading-and-execution"></a>
Expand Down

0 comments on commit 6c33ddd

Please sign in to comment.