diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:44 +0000 |
commit | 02a04a2335701bfc8d6a1087338f58e9f37ceb52 (patch) | |
tree | 92c2c729cfdaaa3942a251357ff100e28a8b8624 /iredis/data/commands/script-flush.md | |
parent | Adding upstream version 1.9.1. (diff) | |
download | iredis-02a04a2335701bfc8d6a1087338f58e9f37ceb52.tar.xz iredis-02a04a2335701bfc8d6a1087338f58e9f37ceb52.zip |
Adding upstream version 1.9.4.upstream/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. |