执行Lua脚本时,参数大于2个,获得非预期的结果
Open
- Dominant language
- Go
- Stars
- 13.2k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
psetex test 500000 testValue
eval "local ttl = redis.call('pttl', KEYS[1]) return ttl" 1 test
-->key'test''s ttl
eval "local ttl = redis.call('pttl', KEYS[2]) return ttl" 2 test1 test
-->-1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.