diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:57 +0000 |
commit | d71fd6264d58795c50b9350d7c39677b671e0896 (patch) | |
tree | 0aa9e0bd923a00b9ddda4e01af55a76ed314097c /iredis/data/commands/script-flush.md | |
parent | Releasing debian version 1.9.1-3. (diff) | |
download | iredis-d71fd6264d58795c50b9350d7c39677b671e0896.tar.xz iredis-d71fd6264d58795c50b9350d7c39677b671e0896.zip |
Merging upstream version 1.9.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/script-flush.md')
-rw-r--r-- | iredis/data/commands/script-flush.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/iredis/data/commands/script-flush.md b/iredis/data/commands/script-flush.md index 833732d..bc5a545 100644 --- a/iredis/data/commands/script-flush.md +++ b/iredis/data/commands/script-flush.md @@ -3,6 +3,21 @@ Flush the Lua scripts cache. Please refer to the `EVAL` documentation for detailed information about Redis Lua scripting. +By default, `SCRIPT FLUSH` will synchronously flush the cache. Starting with +Redis 6.2, setting the **lazyfree-lazy-user-flush** configuration directive to +"yes" changes the default flush mode to asynchronous. + +It is possible to use one of the following modifiers to dictate the flushing +mode explicitly: + +- `ASYNC`: flushes the cache asynchronously +- `!SYNC`: flushes the cache synchronously + @return @simple-string-reply + +@history + +- `>= 6.2.0`: Added the `ASYNC` and `!SYNC` flushing mode modifiers, as well as + the **lazyfree-lazy-user-flush** configuration directive. |