Open bmerry opened 6 years ago
Also found my scripts not working, as it requires cjson. I get attempt to index a nil value (global 'cjson')
error
Just wondering if any new release planning to address the first point?
- Libraries such as cjson are not loaded
Just wondering if any new release planning to address the first point?
I'm afraid I don't get enough time to spend on fakeredis to make it better (mostly I just try to keep it working as new versions of dependencies come out), and I'm not sure quite what would be involved since I don't use Lua myself. Pull requests are welcome.
No worries, thanks for getting back to me quickly.
The Lua scripting support (EVAL) does not perfectly emulate the environment available to a real redis script. Some known differences are:
redis.sha1hex
,redis.log
For more details see the redis documentation and implementation.