Skip to content

Commit

Permalink
This fixes issue #204
Browse files Browse the repository at this point in the history
Removed mentioning of Redis from the EVAL command description

Signed-off-by: Anastasia Alexadrova <[email protected]>
  • Loading branch information
nastena1606 committed Feb 20, 2025
1 parent 069af69 commit ae3a72f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Scripts **should never** access keys with programmatically-generated names or ba

**Note:**
in some cases, users will abuse Lua EVAL by embedding values in the script instead of providing them as argument, and thus generating a different script on each call to EVAL.
These are added to the Lua interpreter and cached to redis-server, consuming a large amount of memory over time.
Starting from Valkey 8.0, scripts loaded with `EVAL` or `EVAL_RO` will be deleted from redis after a certain number (least recently used order).
These are added to the Lua interpreter and cached to valkey-server, consuming a large amount of memory over time.
Starting from Valkey 8.0, scripts loaded with `EVAL` or `EVAL_RO` will be deleted from Valkey after a certain number (least recently used order).
The number of evicted scripts can be viewed through `INFO`'s `evicted_scripts`.

Please refer to the [Valkey Programmability](../topics/programmability.md) and [Introduction to Eval Scripts](../topics/eval-intro.md) for more information about Lua scripts.
Expand Down

0 comments on commit ae3a72f

Please sign in to comment.