diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:20:07 +0000 |
commit | dd874ab02db04853d4b5952712ab34693f9a93de (patch) | |
tree | 4b4e05d004da14862aa1680cf761476fa2b4a05c /iredis/data/commands/script-flush.md | |
parent | Releasing debian version 1.12.1-1. (diff) | |
download | iredis-dd874ab02db04853d4b5952712ab34693f9a93de.tar.xz iredis-dd874ab02db04853d4b5952712ab34693f9a93de.zip |
Merging upstream version 1.13.0.
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 | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/iredis/data/commands/script-flush.md b/iredis/data/commands/script-flush.md index bc5a545..705d014 100644 --- a/iredis/data/commands/script-flush.md +++ b/iredis/data/commands/script-flush.md @@ -1,23 +1,19 @@ 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. -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: -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 -- `ASYNC`: flushes the cache asynchronously -- `!SYNC`: flushes the cache synchronously +For more information about `EVAL` scripts please refer to [Introduction to Eval Scripts](/topics/eval-intro). @return @simple-string-reply -@history +## Behavior change history -- `>= 6.2.0`: Added the `ASYNC` and `!SYNC` flushing mode modifiers, as well as - the **lazyfree-lazy-user-flush** configuration directive. +* `>= 6.2.0`: Default flush behavior now configurable by the **lazyfree-lazy-user-flush** configuration directive.
\ No newline at end of file |