Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

keiko 2.9.7

Compare
Choose a tag to compare
@robzienert robzienert released this 21 Dec 00:00
· 161 commits to master since this release
fix(redis): Not all locales use dot (.) as decimal separator (#50)

If you run Orca on a JVM using a locale that don't use dot (.) as the decimal separator, the Lua interpreter in redis complains that the input is not a number:

```
redis.clients.jedis.exceptions.JedisDataException: ERR Error running script (call to f_065ce216750fa703e6f60302be400d42676231a0): @user_script:45: user_script:45: bad argument #2 to 'format' (number expected, got string)
```

This commit fixes this by forcing US locale on the input to the Lua script.