Skip to content

Commit 1cf8313

Browse files
committed
docs: fix indentation of NOSCRIPT recovery example
The last six lines of the recovery example started at column 0, so Sphinx ended the code:: python block early and rendered the example as two disconnected chunks. Also add resharding and idempotent to the spellcheck wordlist; they are the only words in the new prose that aspell does not know.
1 parent 409f728 commit 1cf8313

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/wordlist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ gmail
132132
himport
133133
hiredis
134134
http
135+
idempotent
135136
idx
136137
iff
137138
ini
@@ -182,6 +183,7 @@ redismodules
182183
reinitialization
183184
replicaof
184185
repo
186+
resharding
185187
runtime
186188
sedrik
187189
serializers

docs/lua_scripting.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ Important caveats when using ``EVALSHA`` in a cluster pipeline:
153153
... with rc.pipeline() as pipe:
154154
... pipe.evalsha(sha, 1, "{user}:1")
155155
... return pipe.execute()
156-
>>> try:
157-
... result = run()
158-
... except NoScriptError:
159-
... # single-command pipeline: safe to reload and retry
160-
... sha = rc.script_load(lua) # reload on current primaries
161-
... result = run()
156+
>>> try:
157+
... result = run()
158+
... except NoScriptError:
159+
... # single-command pipeline: safe to reload and retry
160+
... sha = rc.script_load(lua) # reload on current primaries
161+
... result = run()

0 commit comments

Comments
 (0)