EVALSHARun a cached Lua script by its SHA1 digest.
| 语法 | EVALSHA sha1 numkeys [key [key ...]] [arg [arg ...]] |
| 分组 | script |
| 参数个数 | -3 |
| 起始版本 | 1.0.0 |
| 标志 | write |
| 复杂度 | O(1) cache lookup, then identical to EVAL |
| Redis 兼容性 | differs: same instruction-budget model as EVAL (no -BUSY, no SCRIPT KILL); the cache is process-wide and EVAL populates it |